|
From: <mg...@fi...> - 2009-11-10 16:24:13
|
> define a color palette with color steps instead of a gradient, e.g.: Thanks for your answer! Unfortunately, this is not what I mean. Your solution would lead to something like this image: http://img503.imageshack.us/img503/1726/example2v.png Of course, I only tried your solution for three colors like in your example but this only seems to affect the pm3d map. I really want a result like in this image: http://img503.imageshack.us/img503/5128/example3x.png (I only filled in two surfaces, but the general idea should be clear from this) I really don't know if this is possible at all, but if someone knows, please let me know. > > 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. > > > ------------------------------------------------------------------------------ > 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 > |