|
From: antarctidaonline <ant...@ya...> - 2010-02-04 11:03:14
|
Please explain me something about keyword "palette". I have the same task as user ranlot in the very first message. So, for example, I have such file, with name "1.txt": 10 5 3 20 8 2 30 6 1 40 9 0 I read documentation and wrote such a script: set encoding koi8r set border set xtics border set mxtics set ytics axis set grid xtics ytics set xrange [0:50] set yrange [0:10] set palette model RGB maxcolors 4 set palette defined ( 0 "blue", 1 "green", 2 "yellow", 3 "red" ) plot '1.txt' using 1:2:3 with points pointtype 5 palette pause mouse Well, I get such an image: http://old.nabble.com/file/p27451009/Pict.jpg All points are yellow! It is because z coordinates of points are all in interval from 0 to 5, wich belongs to yellow color. But how I can change this intervals? I need all points to be different colors. And - what I need to write to delete "color legend" at right side of graph? And, of course, I use Windows version of gnuplot 4.2. -- View this message in context: http://old.nabble.com/Coloring-2D-data-points---No-palette-interpolation-tp21958296p27451009.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |