#5553: allow vertical vectors in vector field plots
----------------------+-----------------------------------------------------
 Reporter:  kcrisman  |       Owner:  was       
     Type:  defect    |      Status:  new       
 Priority:  minor     |   Milestone:  sage-3.4.2
Component:  graphics  |    Keywords:            
----------------------+-----------------------------------------------------
 This is a followup to #4104, where the following discussion occurs about
 slope/vector field plots:

 joyner: A question for possibly a future patch: it will not plot
 {{{
 plot_slope_field(x/y, (x,-3,3), (y,-3,3)).show(aspect_ratio=1)
 }}}
 because of the problem at y=0. However, should it? A slope of plus or
 minus infinity has a well-defined meaning. Should one try to trap
 singularities like that and just plot them as vertical direction fields in
 the future?

 jason:  I'm aware of the problem, but decided to post the patch anyway
 when I saw that plot_vector_field had the same problem: the plot is blank
 when an evaluation is undefined.  I thought about trapping these things
 and plotting them as vertical lines, but really we ought to do something
 in plot_vector_field to take care of things when a vector has an infinite
 or NaN coordinate.  I ran out of time to fix plot_vector_field.

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