|
From: Thomas S. <t.s...@fz...> - 2009-10-15 11:27:40
|
you get exactly what you request: plot 'data.plt' using 1:4, '' u 2:xtic(1), '' u 4 title 'error%' with lines in detail: > plot 'data.plt' using 1:4 uses column '1' for x and column '4' for 'y' your x-values are in the range [0:1] > '' u 2:xtic(1) uses the datafile-linenumber for 'x', column '2' for 'y', and column '1' for xtics labels. now your x-range is [0:11] because you have 12 datalines, the xtic labels are re-named '0.05' to '1.0' (taken from column '1'). the y-values are all '150' (taken from column '2') > '' u 4 title 'error%' with lines uses the datafile-linenumber for 'x', column '4' for 'y' here you plot the data like in the 1st plot but stretched because the datafile linenumbers range from '0' to '11' Joost Kraaijeveld wrote: > > Hi Thomas, > > Thanks for the response. > > On Thu, 2009-10-15 at 02:36 -0700, Thomas Sefzick wrote: >> plot 'datafilename' using 1:4 > > I have tried (even before your anser): > > plot 'data.plt' using 1:4, '' u 2:xtic(1), '' u 4 title 'error%' with > lines > > where data.plt is the filename in the current directory > > But that does not do what I expected. It generated the picture you can see > here: > > http://trac.askesis.nl/downloads/iris_with_shuffle_error.jpg > > Based on the file you can see here: > > iris_with_shuffle_error.plt > > TIA > > -- > Groeten, > > Joost Kraaijeveld > Askesis B.V. > Molukkenstraat 14 > 6524NB Nijmegen > tel: 024-3888063 / 06-51855277 > fax: 024-3608416 > web: www.askesis.nl > > > ------------------------------------------------------------------------------ > 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 > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://www.nabble.com/Newbie-y-axis-range-question-tp25905402p25906938.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |