[Numpy-discussion] adaptive sampling of an interval or plane
Wed Aug 12 14:20:17 CDT 2009
We should also talk to Ondrej about this at SciPy. Both sympy (through
mpmath) and mpmath have matplotlib based function plotting. I don't think
it is adaptive, but I know mpmath can handle singularities. Also, Ondrej is
doing doing his graduate with with a group that does adaptive finite
elements, so he would also be familiar with such algorithms. I am sure that
sympy and mpmath (Sage too as well) would be some of the main users of
function plotting and would love to see this happen.
On Wed, Aug 12, 2009 at 4:28 AM, John Hunter <firstname.lastname@example.org> wrote:
> We would like to add function plotting to mpl, but to do this right we
> need to be able to adaptively sample a function evaluated over an
> interval so that some tolerance condition is satisfied, perhaps with
> both a relative and absolute error tolerance condition. I am a bit
> out of my area of competency here, eg I do not know exactly how the
> tolerance condition should be specified, but I suspect some of you
> here may be experts on this. Does anyone have some code compatible
> with the BSD license, preferably based on numpy but we would consider
> an extension code or scipy solution, for doing this?
> The functionality we have in mind is provided in matlab with fplot
> We would like 1D and 2D versions of this ideally. If anyone has some
> suggestions, let me know.
> NumPy-Discussion mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion