#12676: plot exclude sometimes just connects instead of excluding
------------------------+---------------------------------------------------
   Reporter:  kcrisman  |          Owner:  jason, was
       Type:  defect    |         Status:  new       
   Priority:  major     |      Milestone:  sage-5.0  
  Component:  graphics  |       Keywords:            
Work_issues:            |       Upstream:  N/A       
   Reviewer:            |         Author:            
     Merged:            |   Dependencies:            
------------------------+---------------------------------------------------
 This email on sage-support pretty much says it all.
 {{{
 I am trying to understand the behaviour of the option exclude in plot()
 when a range of values is included.
 It looks to me that if a simple range like "exclude=[pi..2*pi]" is used
 and the function is defined and real-valued in that range then the end
 points and integer points between are excluded from the plot, whilst if
 the function is not real-valued in the range, e.g. "sin(x)^cos(x)",  then
 the whole range is excluded.  However, if several ranges are specified
 then when the function is real-valued the behaviour is like that for a
 single range, whilst if the function is not real-valued then the graph
 *is* plotted, incorrectly, for ranges after the first. For example the
 graph of "plot(sin(x)^cos(x),(x,0,4*pi),exclude=[pi..2*pi,3*pi..4*pi])"
 contains a straight line between 3*pi and 4*pi. Surely this cannot be the
 intended behaviour?
 }}}
 Also, it can even happen for the first range.
 {{{
 sage: plot(sin(pi*x)^cos(pi*x),(x,0,4),exclude=[pi..2,3..4],ymax=20)
 }}}

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