#8625: Make contour_plot choose the contour levels avoiding poles
---------------------------+------------------------------------------------
   Reporter:  olazo        |       Owner:  olazo      
       Type:  enhancement  |      Status:  new        
   Priority:  minor        |   Milestone:  sage-4.6   
  Component:  graphics     |    Keywords:  scalar,plot
     Author:               |    Upstream:  N/A        
   Reviewer:               |      Merged:             
Work_issues:               |  
---------------------------+------------------------------------------------
Description changed by olazo:

Old description:

> This should be a function that plots a two variable funtion as a group of
> isolines along a given place of the xy plane.

New description:

 At this point contours of a function with poles get too concentrated near
 the poles. I'm adding a screenshot to exemplify the following code:

 {{{
 var('x y x0 y0 q')
 R=((x-x0)^2+(y-y0)^2)^(1/2)
 field=q/R
 q1=field(x0=1,y0=1,q=1)
 q2=field(x0=-1,y0=-1,q=-1)
 
contour_plot(q1+q2,(x,-2,2),(y,-2,2),aspect_ratio=1,fill=False,labels=True,contours=20)
 }}}

--

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