|
From: Thomas S. <t.s...@fz...> - 2009-11-10 15:47:42
|
define a color palette with color steps instead of a gradient, e.g.: set palette model RGB defined (0 "green", 1 "green", 1 "yellow", 2 "yellow", 2 "red", 3 "red" ) test palette or set palette model RGB defined (0 "green", 1 "yellow", 2 "red") set palette maxcolors 3 test palette mgraat wrote: > > Hello all, > > I am trying to find a way to color the surfaces between contourlines. I > have already plotted the contourlines (see > http://img262.imageshack.us/img262/40/exampleq.png), but cannot find a way > to color the surfaces between them. For instance, if you look at the > example picture, the areas which are bordered by the lightblue lines > should have one color, those by the purple another, etc. > > For reference, I created the contour lines as follows: > > set pm3d map > set nosurface > set cntrparam bspline > set contour > set xrange [1:3.64] > set yrange [0.09:0.96] > unset colorbox > unset key > splot "results.dat" using ($5):($6):($1) notitle > > The results.dat file is basically build up like this (colom 5 and 6 are X > and Y, 1 is Z): > > 85.45 1 1.2904819 0.7095181 1.01 0.1 > 85.68 1 1.2904819 0.7095181 1.01 0.17782794 > *snip* > > 86.61 1 1.2904819 0.7095181 1.0150374 0.1 > 85.06 1 1.2904819 0.7095181 1.0150374 0.17782794 > *snip* > > etc. > > Is this in any way possible, or should I just post-process the image in a > program like GIMP? > > NB: pm3d map uses a gradient, which is not what I want. > > Kind regards, > > Michiel > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/Coloring-surfaces-between-contour-lines-tp26285045p26285730.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |