On Thursday 21 August 2008 01:58:23 pm Mike Witt wrote:
> I'm looking for a work-around for the situation where I would normally
> call parametric_plot (or plot, for that matter) with a function, and in
> some particular case that function turns out to evaluate to a constant.
>
> For example:
>
> sage: def f(a,b): return e^(a+b*I)
> ....:
> sage: parametric_plot([real(f(x,1)),imag(f(x,1))], -pi, pi)
>
>   Works as expected
>
> sage: parametric_plot([real(f(x,-1)),imag(f(x,-1))], -pi, pi)
>
>   Works as expected
>
> sage: parametric_plot([real(f(x,0)),imag(f(x,0))], -pi, pi)
>
>   Gives a page full of errors, which I interpret to mean that there
>   was a problem plotting because imag(f(x,0)) evaluates to a constant.
>
> I believe that this is the same issue described in:
>
> http://trac.sagemath.org/sage_trac/ticket/2410

I'm the person that entered the trac ticket and the point of that trac ticket 
is precisely the (mis-)functionality you are describing.   I'm truly 
mystified by the other responses in this thread.  To me, this is an obvious 
bug...

--
Joel

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to