plot3d : limit z axis?



On 12/18/08, Seb Besnier <sebsheep at yahoo.fr> wrote:

> I would like to plot f(x,y)=1/(x^2+y^2) with maxima, but I have a problem. 
> At
> (0,0), I have a giant peak to ~2e30 which erases all the details in the
> other part of the graph.

In addition to Robert's plot3d example, you can use

load(draw)$

draw3d ( surface_hide = true,
         zrange = [0, 5],
       explicit (1/(x^2+y^2), x, -3, 3, y, -3, 3 ) )$

Ted Woollett