How can I make x or y axis with different colors number?

View: New views
1 Messages — Rating Filter:   Alert me  

How can I make x or y axis with different colors number?

by Veelion Chong :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Gnuplot-info mailing list
Gnuplot-info@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-info