#13246: Automatic exclusion of non-domain points in things like arcsec
-------------------------------------+-------------------------------------
Reporter: kcrisman | Owner: jason, was
Type: defect | Status: needs_work
Priority: major | Milestone: sage-6.3
Component: graphics | Resolution:
Keywords: | Merged in:
Authors: Punarbasu | Reviewers:
Purkayastha | Work issues:
Report Upstream: N/A | Commit:
Branch: | c31f63ed3860dbf2368ed17b3f54d8dd0ebf0331
u/ppurka/automatic_exclusion_of_non_domain_points_in_things_like_arcsec|
Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by ppurka):
Replying to [comment:33 kcrisman]:
> Also, does this change completely get rid of the whole warnings for so-
and-so many unplotted points? I am wondering whether we might want to
include that still anyway for instances where `exclude` wasn't set by the
user - because sometimes people won't realize it. For instance, now
presumably plotting `log(x)` from -1 to 1 won't raise a warning any more,
but that would be a regression.
Where do you see this behavior? I can not reproduce it. This is the output
in sage-6.1.1
{{{
basu@plantain:~/Installations/sage [t/13246/automat] $
~/Installations/sage-6.1.1.server/sage
┌────────────────────────────────────────────────────────────────────┐
│ Sage Version 6.1.1, Release Date: 2014-02-04 │
│ Type "notebook()" for the browser-based notebook interface. │
│ Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
sage: plot(log, -1, 1)
verbose 0 (2411: plot.py, generate_plot_points) WARNING: When plotting,
failed to evaluate function at 100 points.
verbose 0 (2411: plot.py, generate_plot_points) Last error message: 'can't
convert complex to float'
}}}
And this is the ''almost same'' (only change in line numbers) output after
this patch
{{{
basu@plantain:~/Installations/sage [t/13246/automat] $ ./sage
┌────────────────────────────────────────────────────────────────────┐
│ Sage Version 6.3.beta2, Release Date: 2014-05-24 │
│ Type "notebook()" for the browser-based notebook interface. │
│ Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Warning: this is a prerelease version, and it may be unstable. ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
sage: plot(log(x), -1, 1)
verbose 0 (2467: plot.py, generate_plot_points) WARNING: When plotting,
failed to evaluate function at 100 points.
verbose 0 (2467: plot.py, generate_plot_points) Last error message: 'can't
convert complex to float'
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/13246#comment:34>
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/d/optout.