[Maxima] gnuplot_curve_styles

Jaime Villate villate at fe.up.pt
Wed Oct 31 22:09:31 CDT 2007


On Thu, 2007-11-01 at 01:40 +0000, Jaime Villate wrote:
> On Wed, 2007-10-31 at 10:32 -0600, Robert Jerrard wrote:
> > By the way, the curve style use to be black with lines -1, what
> gives
> > black now?
> There are two issues here:
Please ignore my previous message. If you want to use 3 different
colors, for instance, blue, red and black, use:

 :lisp (defun $gnuplot_color (c) (nth (mod (round c) 3) '(-1 3 1)))
 plot2d([sin(x),cos(x),0],[x,0,6])$

Regards,
Jaime Villate



More information about the Maxima mailing list