#4976: [with patch, needs review] fill option for plot, polar_plot and
parametric_plot
-------------------------+--------------------------------------------------
 Reporter:  whuss        |        Owner:  whuss     
     Type:  enhancement  |       Status:  new       
 Priority:  major        |    Milestone:  sage-3.4.1
Component:  graphics     |   Resolution:            
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by whuss):

 Replying to [comment:1 kcrisman]:
 > My only functional caveat is that you may want to put in a catch for
 fill=min and fill=max (as opposed to fill='min' and fill='max') because it
 parses these as functions, which they are, but it should probably raise an
 error (in both cases seems to have net effect of fill='axis'), since max
 and min are not really functions of one variable.

 In the new patch a warning gets printed if min or max is used as the
 parameter for fill.

 Replying to [comment:3 jason]:
 > The patch uses map and max/min to calculate filling to the max or min of
 the function. It would be slightly faster and probably a lot clearer to
 just use list comprehensions

 I changed it to use generator comprehensions.

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