#7809: region_plot does not respect the passed variable order
------------------------+---------------------------------------------------
   Reporter:  jason     |       Owner:  was       
       Type:  defect    |      Status:  needs_work
   Priority:  major     |   Milestone:  sage-4.3.1
  Component:  graphics  |    Keywords:            
Work_issues:            |      Author:            
   Upstream:  N/A       |    Reviewer:            
     Merged:            |  
------------------------+---------------------------------------------------

Comment(by jason):

 Before the simplify-negative-code:

 {{{
 sage: %time region_plot([y>.3, x>0, x^2+y^2<1], (y,-1.1, 1.1), (x,-.5,
 1.1)).show(aspect_ratio=1)
 CPU times: user 1.96 s, sys: 0.08 s, total: 2.04 s
 Wall time: 2.38 s
 sage: %time region_plot([y>.3, x>0, x^2+y^2<1], (y,-1.1, 1.1), (x,-.5,
 1.1),plot_points=400).show(aspect_ratio=1)
 CPU times: user 5.92 s, sys: 0.08 s, total: 5.99 s
 Wall time: 6.30 s
 }}}

 After:

 {{{
 sage: %time region_plot([y>.3, x>0, x^2+y^2<1], (y,-1.1, 1.1), (x,-.5,
 1.1)).show(aspect_ratio=1)
 CPU times: user 1.27 s, sys: 0.02 s, total: 1.29 s
 Wall time: 1.36 s
 sage: %time region_plot([y>.3, x>0, x^2+y^2<1], (y,-1.1, 1.1), (x,-.5,
 1.1),plot_points=400).show(aspect_ratio=1)
 CPU times: user 2.49 s, sys: 0.04 s, total: 2.53 s
 Wall time: 2.67 s
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7809#comment:10>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--

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