#5514: implement exclusions for parametric 3d plots
-------------------------+--------------------------------------------------
 Reporter:  wcauchois    |       Owner:  wcauchois 
     Type:  enhancement  |      Status:  new       
 Priority:  major        |   Milestone:  sage-3.4.2
Component:  graphics     |    Keywords:            
-------------------------+--------------------------------------------------
 This feature would emulate Mathematica's
 [http://reference.wolfram.com/mathematica/ref/RegionFunction.html
 RegionFunction]. The user should be able to provide a function to
 parametric_plot3d which, given a (u,v) coordinate, would return whether to
 include that point in the overall plot. In this way, the user can specify
 which region to include in the plot drawn.

 The syntax would look something like this:
 {{{
 var('u,v')
 parametric_plot3d([u,v,u^2+v^2], (-2, 2), (-2, 2), region_function=lambda
 u,v: u^2+v^2>1)
 }}}
 This would draw a paraboloid with a circle cut out of the middle.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5514>
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