Thanks for your work resolving this issue! I will be happy to create a Trac ticket and submit a patch with this change.
-- Bill On Nov 8, 7:38 pm, Matt Rissler <discn...@gmail.com> wrote: > 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 <micah.ja...@gmail.com> 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, thez-rangeis 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 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 -~----------~----~----~----~------~----~------~--~---