Raymond Toy <toy.raymond at gmail.com> writes:
> This shouldn't be a problem with the current plot2d. It uses an
> adaptive plotting algorithm to use more points where the curve is
> changing too fast. If, by chance, plot2d tries to evaluate f(1),
> maxima catches that error and pretends (I think) that there is a
> discontinuity at that point and tries to add more points in the
> neighborhood to get a better plot.
>
> Of course, if the discontinuity is very narrow and the number of
> initial sample points is too sparse, plot2d will never see it and hence
> never plot it. No surprise there.
>
> The adaptive plotter isn't used for any other kind of plot such as
> parametric plots, unfortunately.
Well, at least on my machine,
f(x) := signum(x) * abs(x)^(-1/n)$
plot2d(f(x), [x, -1, 1.1]), n=10;
displayed the expected behaviour. Maybe I've misunderstood what's going
on.
Rupert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: not available
URL: <http://www.math.utexas.edu/pipermail/maxima/attachments/20121103/1e3e2d87/attachment.pgp>