plotting problem with trigonometric functions



On 03/14/2012 07:45 PM, Mario Rodriguez wrote:
> A similar workaround for plot2d:
>
> (%i16) plot2d(
>       sec(x)*cos(x),[x,-1,1],
>       [gnuplot_preamble, "set yrange [0.9:1.1]"]);
Or even simpler:

  plot2d (sec(x)*cos(x), [x,-1,1], [y,0.9,1.1]);

Jaime