On Mar 5, 10:29 pm, Jason Grout <jason-s...@creativetrax.com> wrote:
> On 3/4/11 8:55 PM, D. S. McNeil wrote:
>
> > I can understand why having an adaptive approach which uses random
> > numbers is more robust than "dx=(xmax-xmin)/100" etc.  What I don't
> > understand is why the default behaviour isn't to use a set seed so
> > that the result of plotting calls would be reproducible.
>
> > If there's a real difference between using one seed and the next, in
> > that sometimes it produces a good plot and sometimes it doesn't, then
> > aren't you going to need to control the seed anyway to get the good
> > plot back?  And if there isn't a real difference, then why not simply
> > pick one and get all the benefits of the adaptive approach while
> > preserving reproducibility?
>
> +1 to having a default random seed that doesn't change each plot (maybe
> a module-level variable in the plot module, like RANDOM_SEED, so that a
> user can change the seed if they want).

Open a ticket and make it so, then!   This would massively help with
any eventual doctesting of actual plots, if we ever were to get there.

- kcrisman

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to