#2770: [with patch; needs work] plot_region function
-------------------------+--------------------------------------------------
 Reporter:  jason        |        Owner:  abergeron
     Type:  enhancement  |       Status:  assigned 
 Priority:  major        |    Milestone:  sage-3.4 
Component:  graphics     |   Resolution:           
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by wdj):

 Okay, thanks for that explanation. This is a useful patch.

 My impression is that if it can't be easily fixed, then at least it should
 be documented how to adjust the parameters to get proper behaviour. I'm
 guessing that the people who will use this patch are students and
 teachers, so the more detailed examples the better:-) Does this seem
 reasonable?

 With that's I'd be prepared to give it a positive review.

 Other cool examples you could include:
 {{{
 sage: region_plot(x*(x-1)*(x+1)+y^2<0, (-3, 2), (-3, 3),
 incol='lightblue', bordercol='gray', plot_points=400)
 sage: region_plot([x*(x-1)*(x+1)+y^2<0, x>-1], (-3, 2), (-3, 3),
 incol='lightblue', bordercol='gray', plot_points=400)
 }}}
 And one similar to Jason's:
 {{{
 sage: P = region_plot([x^2+y^2<4, x>-1], (-2, 2), (-2, 2),
 incol='lightblue', bordercol='gray', plot_points=400)
 sage: P.show(aspect_ratio=1)
 }}}
 (I know you have

 {{{
 region_plot([x^2+y^2<1, x<y], (-2,2), (-2,2))
 }}}
 but it looks odd without the aspect ratio set.)

 Do these seem reasonable Arnaud?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/2770#comment:8>
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