#6878: [with patch, needs review] allow the exclusion of points from the plot
range
---------------------------+------------------------------------------------
   Reporter:  whuss        |       Owner:  whuss          
       Type:  enhancement  |      Status:  positive_review
   Priority:  major        |   Milestone:  sage-4.3.2     
  Component:  graphics     |    Keywords:  plot           
     Author:  whuss        |    Upstream:  N/A            
   Reviewer:               |      Merged:                 
Work_issues:               |  
---------------------------+------------------------------------------------
Changes (by rossk):

  * status:  needs_review => positive_review


Comment:

 Works as advertised with the caveat that if the exclusion points are less
 than xmin or greater than xmax then the plot range is extended (beyond
 either xmin and xmax). Statements below demonstrate this.

 (IMHO, I think this is new functionality that works and its easy to
 specify an exclude range that is inside xmin..xmax to get the plot range
 you want so it should go in the next milestone release - so Im giving it a
 positive review).

 {{{
 sage: plot(floor(x), xmin=0, xmax=10)

 sage: plot(floor(x), xmin=0, xmax=10, exclude = [1..15])

 sage: plot(floor(x), xmin=0, xmax=10, exclude = [1..10])

 sage: plot(floor(x), xmin=0, xmax=10, exclude = [5..10])
 }}}

 (I guess if we dont want the exclusion points to modify the plot range -
 which is ideal - this should be in a new ticket)

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