On 03/02/2010 09:21 AM, ma...@mendelu.cz wrote:
Dear sage-support

If I plot 3d graph using

sage: plot3d(sqrt(sin(x)*sin (y)), (x,0,12),(y,0,12) )

the output looks fine. The output of

sage: plot3d(sqrt(sin(x)*sin (y)), (x,0,2*pi),(y,0,2*pi) )

should be different but it is completely wrong (no graph and bounds
for z from 0.00000 to 0.00000156).
The plot for

sage: plot3d(sqrt(sin(x)*sin (y)), (x,0,(2*pi+pi/2)),(y,0,(2*pi+pi/
2)) )

looks fine again. Is it a bug in code for plot3d when determing z-
range?  Is it possible to force my z-range to show command?

Many thanks
Robert



Yes, it does look like a bug. I've published a relevant worksheet here: http://sagenb.org/home/pub/1706. Notice that if you rotate the first plot so that the positive Z axis is pointing into the screen, you do see the plot, though the z-range on the plot make it a very funny looking graph. You'll notice that the worksheet also prints out the evaluations of the function.

Thanks,

Jason


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

Reply via email to