|
From: Thomas S. <t.s...@fz...> - 2009-02-13 08:18:44
|
either define your own color palette, e.g.:
set palette functions 0,(gray>0.5?1.:0.),(gray<=0.5?1.:0.)
or reduce the number of colors:
set palette maxcolors 2
the actual palette can be viewed with
test palette
ranlot wrote:
>
> Imagine you have a file with 3 columns: x y z. The goal is to make a 2d
> plot of x and y with a color according to the z value. I've been able to
> do that with the 'set palette' command. This always involves some
> interpolation in the color spectrum to make it continuous.
> Is it possible to keep a discrete set of colors instead? (For example z =
> 0 would be blue and z = 1 would be green without some sort of
> interpolation)
>
--
View this message in context: http://www.nabble.com/Coloring-2D-data-points---No-palette-interpolation-tp21958296p21991997.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|