|
From: horatiu <cl...@ya...> - 2006-09-08 02:48:08
|
Hi there. I made some experiments on a machine who gave me a set of discret= e data and I want to plot them. At the beginning the machine give me some dat= a about the condition of experiment that I don't need to plot and the data that I want to plot are after . How can I tell to gnuplot =E2=80=9CI want t= o plot from this point (line), to this point (line), this column (column 4) vs thi= s column (column3)?=E2=80=9D The data are separated by commas. Thank you. --=20 View this message in context: http://www.nabble.com/ploting-data-tf2236773.= html#a6202050 Sent from the Gnuplot - User forum at Nabble.com. |
|
From: Thomas P. <jun...@gm...> - 2006-09-08 05:47:51
|
Hi, see http://t16web.lanl.gov/Kawano/gnuplot/datafile2-e.html#7.6 Cheers Pelusa On 7 Sep 2006 at 19:48, horatiu wrote: > > Hi there. I made some experiments on a machine who gave me a set of disc= rete > data and I want to plot them. At the beginning the machine give me some = data > about the condition of experiment that I don't need to plot and the data > that I want to plot are after . How can I tell to gnuplot =E2=80=9CI wan= t to plot > from this point (line), to this point (line), this column (column 4) vs = this > column (column3)?=E2=80=9D The data are separated by commas. Thank you. > -- > View this message in context: http://www.nabble.com/ploting-data-tf22367= 73.html#a6202050 > Sent from the Gnuplot - User forum at Nabble.com. > > > ------------------------------------------------------------------------= - > Using Tomcat but need to do more? Need to support web services, security= ? > Get stuff done quickly with pre-integrated technology to make your job e= asier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geroni= mo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
From: horatiu <cl...@ya...> - 2006-09-08 07:47:19
|
If I do: set datafile separator "," > plot "SM1_16-20ppm-2mVps-1.txt" using 3:4 with linespoints it's plots all data in the file but if I try set datafile separator "," > plot 'SM1_16-20ppm-2mVps-1.txt' every ::1855 using 3:4 with linespoints eror: all points y value undefined! my values that I want to plot are from line 1855 to line 3257 fusselpelusa wrote: > > http://t16web.lanl.gov/Kawano/gnuplot/datafile2-e.html#7.6 > -- View this message in context: http://www.nabble.com/ploting-data-tf2236773.html#a6204414 Sent from the Gnuplot - User forum at Nabble.com. |
|
From: <as...@ca...> - 2006-09-08 14:07:31
|
Hi! I'm not pretty sure if I understand what you have to do. But to set ranges in your plot you could do the following: gnuplot> set datafile separator "," gnuplot> plot [x1:x2][y1:y2] 'SM1_16-20ppm-2mVps-1.txt' u 3:4 w lp where the 1st pair of brackets is to set ranges for the x-axis and the 2nd one is to set ranges for the y-axis. For additional information, try gnuplot> help set xrange and gnuplot> help plot Observe you can replace "using" by "u", "with" by "w" and "linepoints" by "lp". See help plot too. I hope this helps. Cheers, Hern=E1n On 9/8/06, horatiu <cl...@ya...> wrote: > > If I do: > > set datafile separator "," > > plot "SM1_16-20ppm-2mVps-1.txt" using 3:4 with linespoints > it's plots all data in the file > but if I try > > set datafile separator "," > > plot 'SM1_16-20ppm-2mVps-1.txt' every ::1855 using 3:4 with linespoints > eror: > > all points y value undefined! > my values that I want to plot are from line 1855 to line 3257 > > fusselpelusa wrote: > > > > http://t16web.lanl.gov/Kawano/gnuplot/datafile2-e.html#7.6 > > > > -- > View this message in context: http://www.nabble.com/ploting-data-tf223677= 3.html#a6204414 > Sent from the Gnuplot - User forum at Nabble.com. > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job ea= sier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronim= o > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > --=20 --------------------------------------------- Mgter. Hern=E1n Gonzalo Asorey Instituto Balseiro - CAB (8400) San Carlos de Bariloche R=EDo Negro - Rep. Argentina --------------------------------------------- cabtep5.cnea.gov.ar/~asoreyh/ |
|
From: Thomas P. <jun...@gm...> - 2006-09-08 16:24:53
|
Hm, try instead of using 1855, 1854. As you want already plot 1855th line. How does your 1854th line look like? Is line 3257 the last in your file? if not use every ::1854::3257 Anyway, I don't see a formal mistake in your command line. Try a small file with ten lines to plot and then skip a few lines at the beginning. increase the number of lines and see, whether there is a limit in gnuplot. I doubt it but you never know. Are all columns separated with a comma? Or is it just between the 3rd and 4th? Then you should first change the comma into a blank (i.e. awk) and then u 3:4 . Hope that helped, even though it's hard to tell. Cheers Pelusa On 8 Sep 2006 at 0:47, horatiu wrote: > > If I do: > > set datafile separator "," > > plot "SM1_16-20ppm-2mVps-1.txt" using 3:4 with linespoints > it's plots all data in the file > but if I try > > set datafile separator "," > > plot 'SM1_16-20ppm-2mVps-1.txt' every ::1855 using 3:4 with linespoints > eror: > > all points y value undefined! > my values that I want to plot are from line 1855 to line 3257 > > fusselpelusa wrote: > > > > http://t16web.lanl.gov/Kawano/gnuplot/datafile2-e.html#7.6 > > > > -- > View this message in context: http://www.nabble.com/ploting-data-tf2236773.html#a6204414 > Sent from the Gnuplot - User forum at Nabble.com. > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: <br...@ph...> - 2006-09-08 16:49:28
|
horatiu wrote: > that I want to plot are after . How can I tell to gnuplot =E2=80= =9CI want to plot > from this point (line), to this point (line), this column (column 4= ) vs this > column (column3)?=E2=80=9D The data are separated by commas. Thank = you. From further mails we know you already know the command that should= =20 work. But nobody can know why they don't if you don't supply more= =20 information. A minimal, but complete sample (script and data) that= =20 reproduces the problem would help. |