Re: plot2d(tan(x), [x, -%Pi, %Pi]);



Oops!  I apologise for the spam. 

It sounds like this is either the same as bug 694770 (plot2d
stunningly slow in some simple cases), or 880767 (can't plot 1/0, but
won't stop trying...), both of which sound like they're fixed in cvs
with adaptive plotting.

Either way, adding the plot2d option [y,-20,20] works around the
problem in 5.9.0.

Thanks for maintaining such a great app!

Ben

> This is not working in maxima 5.9.0 on windows or linux:
>    plot2d(tan(x), [x, -%Pi, %Pi]);
> 
> However, these work just fine:
>    plot2d(sin(x), [x, -%Pi, %Pi]);
>    plot2d(cos(x), [x, -%Pi, %Pi]);
>    plot2d(tan(x), [x, -1.5, 1.5]);
> 
> It seems to dislike plotting around the infinite values at +/- %Pi/2...
> 
> Is this working under cvs ?  (Sorry, I haven't compiled it myself
> yet...  Just wanted to bring it up before 5.9.1 comes out...)
> 
> If not, is there a way to work around this?
> 
> Thanks!
> 
> Ben