Hi.

This works :

var('u, v')
h = lambda u,v: u^2 + 2*v^2
G = plot3d(h, (-1,1), (-1,1))
G.show()

This does not work :

var('u, v')
h = lambda u,v: u^2 + 2*v^2
G = plot3d(h, (u,-1,1), (v,-1,1))
G.show()

But it should according to the doc  :

INPUT:

    * f - a symbolic expression or function of 2 variables
    * urange - a 2-tuple (u_min, u_max) or a 3-tuple (u, u_min, u_max)
    * vrange - a 2-tuple (v_min, v_max) or a 3-tuple (v, v_min, v_max)
    * adaptive - (default: False) whether to use adaptive refinement
to draw the plot (slower, but may look better)
    * mesh - bool (default: False) whether to display mesh grid lines
    * dots - bool (default: False) whether to display dots at mesh grid points

Phil

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to