When passing a python function to plot3d, specifying the variable names and including 'adaptive=True' makes plot3d fail, with the message
AttributeError: 'function' object has no attribute 'subs' In more detail: sage: def f(x,y): return sin(x+y) Then the following work and produce the same graph: plot3d(f, (x, -5, 5), (y, -5, 5)) plot3d(f, (-5, 5), (-5, 5)) On the other hand, plot3d(f, (-5, 5), (-5, 5), adaptive=True) works, but plot3d(f, (x, -5, 5), (y, -5, 5), adaptive=True) barfs with the error message given above. Is this a bug, or is this related to one of the issues raised in this earlier thread <http://groups.google.com/group/sage-support/browse_frm/thread/ 9ad07eeddb850ab3/e0cab1daca9b0883?lnk=gst&q=plot3d#e0cab1daca9b0883> ? If it's not a bug, it should perhaps fail more gracefully, since the plot works if 'adaptive=False'. --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---