plotting problem with trigonometric functions



On 03/14/2012 04:50 PM, Raymond Toy wrote:
> Hmm.  I see a similar thing, but it's not maxima.  Maxima returns 
> almost instantly, but gnuplot is sucking up 100% cpu plotting a 
> (mostly) constant.  Not sure why that is because plot2d(1,[x,-1,1]) 
> brings up a plot instantly.
>
> So it's not a maxima problem per se.
Right.
plot2d(sec(x)*cos(x),[x,-1,1],[plot_format,xmaxima]) works fine.

But even being a Gnuplot issue, this suggests that we could use 
something such as fpprintprec: 14
when creating the data file for Gnuplot. In any case no graphic display 
will be able to use more than 14 digits for a plot (I think!).

Is anyone against that I go ahead and do  such change in plot2d?
Regards,
Jaime