>> From: Allan Wittkopf />
Hello David,
As of M8, odeplot has been made more flexible, allowing per-plot options, etc.
For example, the call:
> odeplot(p,[[x,y(x),color=grey],[x,5*y(x),color=pink,style=POINT]],-1..1);
will plot the solutions with the additional specified options, so the first
curve will be a grey line plot, and the second curve will be a pink point plot.
Details of which options are allowed can be found on the help page, but per
curve options include color, linestyle, style, symbol, symbolsize, and
thickness.
Sincerely,
Allan Wittkopf
"Dr. David Levitt" wrote:
>
> >> From: "Dr. David Levitt" />
>
> The following Maple routine plots two curves: the first curve is red,
> the second is green, etc.
> Is there some way to change these default colors while only making one
> call to odeplot?
>
> Thanks,
> David Levitt
> />
> > with(plots):
>
> > p:= dsolve({D(y)(x) = y(x), y(0)=1}, y(x),type=numeric):
>
> > odeplot(p,[[x,y(x)],[x,5*y(x)]],-1..1);
|