From: Benny M. <ben...@gm...> - 2008-04-30 16:28:27
|
This is a gnuplot question, please, read gnuplot help if this is possible, in gnuplot, starti with help ytics You could ask help on gnuplot lists also, this list is for the gnuplot module in Python. Benny 2008/4/30 Veelion Chong <ve...@gm...>: > 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-py-users mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-py-users > > |