gnuplot_curve_styles



On Wed, 2007-10-31 at 07:20 -0600, Robert Jerrard wrote:
> I just tried plot2d with a gnuplot_curve_styles option, for example,
> this use to work:
> 
> f(x):=log(1+sin(x)^2)/log(10)$
> ga(x):=(x+3)*atan(x)$
> gb(x):=(1+%pi)*(1/2)^(x-1)-1$
> plot2d([f(x),[parametric,t,ga(t),[t,-4,1]],[parametric,t,gb(t),[t,1,4]],
> 0,[parametric,0,t,[t,-4,4]]],[x,-4,4],[y,-4,4],[nticks,200],
> [gnuplot_curve_styles,["with lines 1","with lines 3","with lines
> 3","with lines -1","with lines -1"]])

Please replace the plot2d command by the following:

plot2d([f(x),[parametric,t,ga(t),[t,-4,1]],[parametric,t,gb(t),[t,1,4]],
0,[parametric,0,t,[t,-4,4]]],[x,-4,4],[y,-4,4],[nticks,200],
[style,[lines, 1,1],[lines,1,3],[lines,1,3],[lines,1,5],[lines,1,5]]);

there was a change in the syntax, to make it simpler and compatible with
openmath, but I mistakenly removed the old syntax for
gnuplot_curve_styles. It will be fixed in version 5.14, so you will be
able to use either syntax.

Regards,
Jaime

P.S. In case you are wandering, the 1 after lines is the line thickness.