#8450: contour_plot chokes on function which involves imaginary numbers
------------------------+---------------------------------------------------
   Reporter:  jason     |       Owner:  was       
       Type:  defect    |      Status:  new       
   Priority:  major     |   Milestone:  sage-4.3.4
  Component:  graphics  |    Keywords:            
     Author:            |    Upstream:  N/A       
   Reviewer:            |      Merged:            
Work_issues:            |  
------------------------+---------------------------------------------------
 This gives an error:

 {{{
 contour_plot(real_part(log(x+y*I+.001)), (x,-3,3),(y,-3,3),fill=False)
 }}}

 but this works:

 {{{
 a(x,y)=real(log(x+y*I+.001))
 f=fast_callable(a,domain=CC)
 contour_plot(f, (x,-3,3),(y,-3,3),fill=False)
 }}}

 and this works:

 {{{
 contour_plot(imag(log(x+y*I+.001)), (x,-3,3),(y,-3,3),fill=False)
 }}}

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