Hi,
I try to graph functions of one complex variable, so e.g.

def f(z):
    return z^2/(1+z^2);
vars('x y'); plot3d(lambda x,y: abs(f(x+i*y)),(x,-2,2),(y,-2,2));

works as expected. But now I want to color each pixel by the phase
arctan2(f(z).real(),f(z).imag()) of the function value.
Is there a simple way? The outputs of
obj_repr, mtl_str, jmol_repr and the like of the reference manual
are not obvious -- at least to me.
Also, the hits of search_doc('plot3d color') did not enlight me.
Any hint appreciated, Thomas

-- 
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