From: Eric S. J. <es...@ha...> - 2008-09-24 16:23:21
|
Benny Malengier wrote: > Look in the gnuplot manual. You can do gnuplot commands with gnuplot-py. > Also have a look in the test file in subversion. I took a look at the test file and it had nothing about color is that I could see. Yes, some of the method calls had color for an argument but it made no sense. Reading from the canoe plot manual, I tried to use the line style but, that also failed. I also couldn't see how to associate a particular index with a plot. gnuplot> plot '/tmp/tmpVLMckL' notitle gnuplot> plot '/tmp/tmpKwgJDc' notitle, '/tmp/tmpUPRlPx' notitle gnuplot> set title "Plot of generation score_002000" gnuplot> set object 1 rect from -5,0 to 5,500 fc rgb "#3366ff" gnuplot> set xrange[-100:100] gnuplot> set yrange[0:100] gnuplot> set autoscale fix gnuplot> set terminal gif gnuplot> set style line 0 lc rbgcolor red gnuplot> set style line 1 lc rbgcolor blue gnuplot> set output "plot/image_score_002000.gif" gnuplot> plot '/tmp/tmpYGhnBq' notitle gnuplot> plot '/tmp/tmpcSr0gh' notitle, '/tmp/tmpL1XY2s' notitle gnuplot> set style line 0 lc rbgcolor red ^ line 0: tag must be > zero line 0: undefined variable: rbgcolor > > Benny > > 2008/9/22 Eric S. Johansson <es...@ha... <mailto:es...@ha...>> > > I'm trying to put before and after plots on the same image and I > need each plot > to be in a different color. How do I specify the color change in > the plot method? > > thanks > > ---eric > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > <http://moblin-contest.org/redirect.php?banner_id=100&url=/> > _______________________________________________ > Gnuplot-py-users mailing list > Gnu...@li... > <mailto:Gnu...@li...> > https://lists.sourceforge.net/lists/listinfo/gnuplot-py-users > > |