#7872: Adding coordinate transformations to plot3d
---------------------------+------------------------------------------------
   Reporter:  olazo        |       Owner:  olazo     
       Type:  enhancement  |      Status:  needs_work
   Priority:  minor        |   Milestone:            
  Component:  graphics     |    Keywords:            
Work_issues:               |      Author:  olazo     
   Upstream:  N/A          |    Reviewer:            
     Merged:               |  
---------------------------+------------------------------------------------

Comment(by wcauchois):

 The patch I just attached represents my initial work on this issue. I
 added Oscar's code to plot3d() to implement the transformation keyword
 parameter, and I added the two new plotting functions spherical_plot3d and
 cylindrical_plot3d.

 I made some minor changes to the original code. I moved the formulae for
 the transformations for spherical and cylindrical coordinates out of the
 body of plot3d, and into the bodies of spherical_plot3d and
 cylindrical_plot3d, since I thought that was a better place for them. I
 also added some error handling; the urange and vrange given to plot3d may
 be 2-tuples, in which case the variables are implicit -- but we expect
 urange[0] and vrange[0] to be the plot variables.

 We need to add some documentation for the new features. I think I can draw
 upon the examples Oscar provided in his published worksheets to create
 doctests for the new functions. Oscar, could you help me come up with
 descriptions of cylindrical_plot3d and spherical_plot3d for use in their
 docstrings? And more examples are always helpful.

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