#13246: Automatic exclusion of non-domain points in things like arcsec
-----------------------------------------+----------------------------------
Reporter: kcrisman | Owner: jason, was
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.11
Component: graphics | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Punarbasu Purkayastha | Merged in:
Dependencies: | Stopgaps:
-----------------------------------------+----------------------------------
Comment (by kcrisman):
Notice this (unsurprisingly) needs a slight rebase.
Impressively, this also seems to work correctly with things like
{{{
sage: parametric_plot( (arcsec(x), x^2), (x,-2,2))
}}}
although
{{{
parametric_plot( (x,arcsec(x)), (x,-2,2))
}}}
would cause an error always - something that probably should be fixed,
perhaps this is a good place to do so? Note that there is no helpful
error message like with
{{{
WARNING: When plotting, failed to evaluate function at 99 points.
}}}
I'm trying to rack my brain thinking of where `2 times the difference
between two consecutive plot points` might cause a problem in the
parametric case. Even
{{{
parametric_plot( (100000*arcsec(x), x), (x,-2,2),aspect_ratio='automatic')
}}}
doesn't seem to trigger additional exclusions. Do you see what I mean?
One could imagine that in a parametric context there could be a very
narrow parameter range, but a lot of room on the x-values and so
everything would be excluded.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13246#comment:17>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.