|
From: Thomas S. <t.s...@fz...> - 2009-05-11 15:56:36
|
define a palette which goes from 'red' to 'blue, see http://www.gnuplot.info/docs/node215.html and then plot with explicit line colors plot "myfile.txt" every ::1::1 using 3:2 with imp linecolor palette frac 0.0, \ "" every ::1::1 using 6:5 with imp notitle palette frac 0.1, \ "" every ::1::1 using 9:8 with imp notitle palette frac 0.2, \ ... for more information, see http://www.gnuplot.info/docs/node62.html joachim heintz wrote: > > Hello - > > I'm new in gnuplot. I wrote a script which reads single lines with the > "every" option. This works well, but I have two questions: > 1) I'd love to have the value which is written in column 1 (which is a > time in my case) as the legend (key). Is this possible? > 2) I have several xy-pairs in a line. I plot them with > "myfile.txt" every ::1::1 using 3:2 with imp,\ > "" every ::1::1 using 6:5 with imp notitle,\ > "" every ::1::1 using 9:8 with imp notitle,\ > and so on. Can I change the colors in a way that the first xy-pair > (using 3:2 in the example above) is in red colour, and then the color > circle is crossed so that the last value is blue? (There are different > numbers of pairs; sometimes 6 or 12 or whatever. In each case the > first xy-value should be red and the last blue.) > > Thanks for any help. Best regards - > > joachim > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://www.nabble.com/Plot-questions-tp23464492p23486189.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |