Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 4 years ago

Juanjo gravatar image

In addition to the solutions provided in other answers and comments, you can keep symbolic expresions, but first converting them with the help of the fast_callable function, that is:

var("u,v")
xuv = fast_callable(sqrt(u + I*v).real(), vars=[u,v])
yuv = fast_callable(sqrt(u + I*v).imag(), vars=[u,v])
zuv = v
parametric_plot3d([xuv, yuv, zuv], (u,-1,1), (v,-1,1))