#10884: make plot points consistent between calls
---------------------------+------------------------------------------------
Reporter: dsm | Owner: jason, was
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: graphics | Keywords: plot
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Description changed by dsm:
Old description:
> As discussed in
> [http://groups.google.com/group/sage-
> support/browse_thread/thread/54cde75b815ced40# this sage-support thread],
> currently the choice of plot points differs each time plot is called
> unless you turn randomization off, in which case you re-introduce the
> possibility of the problems that randomization was introduced to avoid.
>
> This isn't a major problem, but that the points differ from call to call
> makes some natural things you might want to do fail, such as caching
> function values to speed up plotting. Right now it can be worked around
> easily enough by setting the random seed to something each time outside
> the plotting calls.
>
> It seems equally sensible, and probably slightly more useful, to have the
> default behaviour be the use of a local fixed seed, which gives
> reproducibility while avoiding the pitfalls of the non-randomized
> approach.
New description:
As discussed in
[http://groups.google.com/group/sage-
support/browse_thread/thread/54cde75b815ced40# this sage-support thread],
currently the choice of plot points differs each time plot is called
unless you turn randomization off, in which case you reintroduce the
possibility of the problems that randomization was introduced to avoid.
This isn't a major problem, but that the points differ from call to call
makes some natural things you might want to do fail, such as caching
function values to speed up plotting. Right now it can be worked around
easily enough by setting the random seed to something each time outside
the plotting calls.
It seems equally sensible, and probably slightly more useful, to have the
default behaviour be the use of a local fixed seed, which gives
reproducibility while avoiding the pitfalls of the non-randomized
approach.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10884#comment:1>
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.