#6878: [with patch, needs work] allow the exclusion of points from the plot
range
-------------------------+--------------------------------------------------
Reporter: whuss | Owner: was
Type: enhancement | Status: new
Priority: major | Milestone: sage-4.1.2
Component: graphics | Keywords: plot
Reviewer: | Author: whuss
Merged: |
-------------------------+--------------------------------------------------
Comment(by jason):
Some more comments after examining things more carefully:
* Use "is not None" rather than "!= None", as the "is not None" is way,
way faster (it's a pointer comparison)
* If I have just a few excluded points, but lots more poles, won't the
break during the calculation of the exclusions also jump out of the loop
that deals with detecting poles? That means my poles past the last
exclusion point are ignored.
* Can you put a brief comment in about {{{(x0 < exclusion_point <= x1 or
x0 <= exclusion_point < x1)}}}? It may be just that it's too late, but
this is confusing me a bit.
Those are the only issues I find; the code other than that works fine. I
have not tested the output (nice doctests, though!).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6878#comment:3>
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
-~----------~----~----~----~------~----~------~--~---