Hi, All
I want to plot a chart of my data. I want the xtics with different colors.
for example, my x data is
-3, -2, -1, 0, 1, 2, 3,
I want the text data less than 0 appears red, 0 is green, and large than 0
is blue, which seems like,
-3(r), -2(r), -1(r), 0(g), 1(b), 2(b), 3(b),
I tried to use
'set ytics tc rgb "#FF0000" (%f %f %f)' % (-3, -2, -1)
'set ytics tc rgb "#00FF00" (%f)' % (0)
'set ytics tc rgb "#0000FF" (%f %f %f)' % ( 3, 2, 1)
but only the last one take effect, why?
How can I make x or y axis with different colors number?
Thanks,
veelion
|