#4462: contour_plot defaults changed to fill, affects implicit_plot
------------------------+---------------------------------------------------
 Reporter:  john_perry  |       Owner:  was
     Type:  defect      |      Status:  new
 Priority:  minor       |   Milestone:     
Component:  graphics    |    Keywords:     
------------------------+---------------------------------------------------
 In Sage 3.1.1,
 {{{
 
implicit_plot(x^2+y^2-1,(x,-1.1,1.1),(y,-1.1,1.1),plot_points=100).show(aspect_ratio=1)
 }}}
 produces a very nice circle.

 In Sage 3.1.4, the same code produces a filled-in disc. Likewise,
 implicit_plot tries to fill in all curves;
 {{{
 implicit_plot(5*x^4-x^2-y^2,(x,-5,5),(y,-5,5))
 }}}
 looks odd.

 The cause is contour_plot (called by implicit_plot): the default for the
 fill option is True. Feeding fill=False to implicit_plot produces the
 desired behavior:
 {{{
 
implicit_plot(x^2+y^2-1,(x,-1.1,1.1),(y,-1.1,1.1),plot_points=100,fill=False).show(aspect_ratio=1)
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4462>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
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-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to