How to plot2d bfzeta



On 2/2/06, Seth Goldberg <sigoldberg1 at yahoo.com> wrote:

> (%i20) plot2d(float(bfzeta(x,25)),[x,2,4]); yields only
> Maxima was unable to evaluate the predicate:

plot2d ( ' (<my expression>), [x, 2, 4]);
is a workaround that often succeeds.

for this particular case, let's avoid the adaptive plotter (seems to go
nuts for some reason) by asking Maxima to plot a list of points.
(this feature is in maxima 5.9.2.)

  x : makelist (2 + i/100, i, 1, 200);
  y : map (lambda ([xx], float (bfzeta (xx, 25))), x);
  plot2d ([discrete, x, y]);

hth,
robert dodier