|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
plotting no data on graphDear all,
If I have data like below 1 10 3 2 5 3 7 4 9 5 How to plot graph so that there is no straight line which connecting between the four and the fifth column? I used command set datafile missing "", but there was straight line which represent the no data column. any help are appreciated. best regards, febty |
|
|
Re: plotting no data on graphmaybe you should post the commands you used to plot
the data. normally, two empty lines in between cause the plot to be interrupted.
|
|
|
Re: plotting no data on graphsorry for my late response,
below is my script : ############# set term postscript enhanced color set output "output.ps" set lmargin 10 set nokey set ylabel "volt" set ytics out set xtics ("00:00" 0, "04:00" 18000, "08:00" 32400, "12:00" 46800, "16:00" 61200, "20:00" 75600, "23:00" 86400) set multiplot set size 1, 0.28 set origin 0.0,0.73 #set yrange [0.55:0.65] #set ytics 0.55, 0.05, 0.65 set noxlabel set title "data" set label "channel 1" at screen 0.80, screen 0.94 set datafile missing "0" plot "input.dat" using 0:1 with lines notitle "input.dat" set size 1,0.23 set origin 0.0,0.49 #set yrange [-0.3:0.1] #set ytics -0.3, 0.2, 0.1 set noxlabel set notitle set nolabel set label "channel 2" at screen 0.80, screen 0.70 plot "input.dat" using 0:2 with lines notitle "input.dat" set size 1,0.23 set origin 0.0,0.26 #set yrange [-0.05:0.05] #set ytics -0.05, 0.05, 0.05 set noxlabel set notitle set nolabel set label "channel 3" at screen 0.80, screen 0.47 plot "input.dat" using 0:3 with lines notitle "input.dat" set size 1,0.25 set origin 0.0,0.0 #set yrange [-0.1:0.1] #set ytics -0.1, 0.1, 0.1 set xlabel "time (UT)" set notitle set nolabel set label "channel 4" at screen 0.80, screen 0.23 plot "input.dat" using 0:4 with lines notitle "input.dat" ########### I just want to ask, how to plot data without the plot to be interrupted or there is a straight line representing the empty data, if my data has some empty data for two line or more. best regards, febty unset multiplot 2009/10/24 Thomas Sefzick <t.sefzick@...> > > maybe you should post the commands you used to plot > the data. > normally, two empty lines in between cause the plot to > be interrupted. > > > febty wrote: > > > > Dear all, > > > > If I have data like below > > > > 1 10 > > 3 2 > > 5 3 > > > > > > 7 4 > > 9 5 > > > > How to plot graph so that there is no straight line which connecting > > between the four and the fifth column? > > I used command set datafile missing "", but there was straight line which > > represent the no data column. > > > > any help are appreciated. > > > > best regards, > > febty > > > > -- > View this message in context: > http://www.nabble.com/plotting-no-data-on-graph-tp26019816p26037301.html > Sent from the Gnuplot - User mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Gnuplot-info mailing list > Gnuplot-info@... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > -- ****** febty febriani Indonesian Institute of Sciences Research Center for Physics Kompleks PUSPIPTEK Serpong, Indonesia, 15314 ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Gnuplot-info mailing list Gnuplot-info@... https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
|
Re: plotting no data on graphyou should read about the 'using' command in the manual
http://www.gnuplot.info/docs/node133.html especially the section about the difference between 'using 1:2' and 'using ($1):($2)'
|
| Free embeddable forum powered by Nabble | Forum Help |