I think this is known, but I can't remember whether it's been reported
or not; certainly I have run across very similar behavior in the past
as well.  I think that some things related to this are because our
fast evaluation routines do not know how to handle z.real() and
friends, but that may be changing in the next (4.3.2) version of
Sage.  Mike H., Jason G., Robert B. - any comments?

Thank you for helping us improve Sage!

- kcrisman

On Jan 30, 3:57 pm, Brian Lins <[email protected]> wrote:
> I am running into a problem trying to plot a complex valued function
> using parametric plots.
>
> I have a function:
>
> z = (1+I*t)^2/(I+t)
>
> Which I try to plot:
>
> parametric_plot((z.real(),z.imag()),(t,0.1,0.9))
>
> ...and I get an error:
>
> TypeError: float() argument must be a string or a number
>
> The strange thing is that parametric_plot works fine when z is a
> fractional linear transformation or a polynomial.  I am getting this
> error on both 4.0.2 and 4.3.1 Any insight into why this is happening
> would be greatly appreciated.
>
> -Brian

-- 
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
URL: http://www.sagemath.org

Reply via email to