On Wed, 18 Jul 2012 at 08:57AM -0500, Jason Grout wrote:
> Gee, it'd be nice if there was a way to provide plugins for the plot
> command.  I could see, for example, prime_pi providing a "sample"
> plugin that would provide a custom sampling routine, but otherwise
> using the standard plotting functionality.  In fact, the randomize
> and other ways of sampling a function could be abstracted out.
> plot(...,randomize=False) could substitute in a non-random sampler.
> 
> The whole plotting command could really be a pipeline, where
> components could be swapped in and out as needed.

That's a great idea. It might make something like
http://trac.sagemath.org/sage_trac/ticket/13246 easier -- functions
could "know" their domain and automatically exclude bad points when
plotting.

Dan

--
---  Dan Drake
-----  http://mathsci.kaist.ac.kr/~drake
-------

Attachment: signature.asc
Description: Digital signature

Reply via email to