[SciPy-user] "smooth" plots

Christiaan Putter ceputter at googlemail.com
Fri Apr 3 16:34:46 EDT 2009


There's a function plotter in chaco that one can do that with.  It
will compute the required values depending on the view (zoom, index
bounds).

There's an usage example that shows how to use it in case anyone's interested.

2009/4/3 Jonathan Guyer <guyer at nist.gov>:
>
> On Apr 1, 2009, at 1:36 PM, I wrote:
>
>> Lets say I want to plot y = f(x).
>>
>> f() is non-analytical and expensive.
>>
>> Are there any facilities in SciPy (or elsewhere in Python) for
>> automating the selection of values of x that will produce a "smooth"
>> plot of y vs. x?
>
> David Huard sent me a perfectly serviceable bit of code off-line (he
> described it as "not pretty", but it does the trick for me and sure
> beats manually hunting and pecking). When I get back from vacation, I
> may pester him to post a cookbook example, or to let me do it.
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>



More information about the SciPy-User mailing list