Poking through the code I think line 922 in sage/plot/plot3d/implicit_surface.pyx should read:
self.zrange = ranges[2][:2] I'd submit the patch myself, but I'd have to create a login and figure out the versioning system. Someday, but not today. Matt On Oct 24, 11:34 pm, Micah <[email protected]> wrote: > Greetings all, > > I have been fiddling around withimplicit_plot3dfor most of the day > and I have noticed that sometimes, the range of values for z are > partially disregarded. > > sage: implicit_plot3d((x^2)/2+(y^2)/2+(z^2)/2,(x,-5,5),(y,-5,5),(z, > 0,5),contour=2) > > should produce only the northern hemisphere of the sphere of radius > sqrt(8) but it produces the entire sphere. Meanwhile > > sage: implicit_plot3d((x^2)/2+(y^2)/2+(z^2)/2,(x,0,5),(y,0,5), > (z,-5,5),contour=2) > > only produces the portion of the sphere in the first octant, rather > than a full quarter of the sphere. > > Of course, the z-range is not always disregarded. > > sage: implicit_plot3d((x^2)/2+(y^2)/2+(z^2)/2,(x,0,5),(y,-5,5), > (z,-5,5),contour=2) > > produces the expected output. > > This happens on both 4.1.1 (on sagenb) and 4.1.2 (my installation). > For convenience, I've published the sagenb notebook. > http://sagenb.org/pub/830/ > > I have tried tracing through the code, but I was quickly overwhelmed > by the task. > > -Micah --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
