|
From: Thomas S. <t.s...@fz...> - 2009-01-28 09:38:27
|
SteppXXL wrote: > > Hello there > > I'd like to have a variable color on my boxes depending on read values: > If value 5 ($5) exists ($5>=0) then color of box = green else color = red. > The whole value 5 is "2 classe(s), 1 transition(s)" but it always starts > with an integer if it exists so checking >=0 is quite ok. > I tried to vary linetype 2 or 1 but it won't work: > if $5 isn't existing nothing is plotted, instead, you need to check for validity of $5 and plot two times: plot "data"" using 0:(valid(5)?0/0:$3) linetype 2 , ""using 0:(valid(5)?$3:0/0) lt 3 -- View this message in context: http://www.nabble.com/Variable-color-tp21688841p21702567.html Sent from the Gnuplot - Dev mailing list archive at Nabble.com. |