Re: Plot3D

*To*: mathgroup at smc.vnet.net*Subject*: [mg65034] Re: Plot3D*From*: Bill Rowe <readnewsciv at earthlink.net>*Date*: Sun, 12 Mar 2006 23:57:52 -0500 (EST)*Sender*: owner-wri-mathgroup at wolfram.com

On 3/11/06 at 5:16 AM, franzl.mueller at gmx.de (Franz Mueller) wrote: >I just want to plot the very simple exp-function: >Plot3D[Exp[-10*(x*x + y*y)], {x, -1, 1}, {y, -1, 1}] >But the resulting plot is cut off at z(x,y)=0.2! So the result is >simply not an exponential! >I'd appreciate any help, All of the plotting routines in Mathematica by default attempt to plot the most interesting area of the plot by automatically setting the plot range. The surprising thing isn't that the algorithm Mathematica uses gets things wrong occasionally but that it succeeds as often as it does. In any case, the solution is to force Mathematica to plot the entire range using a PlotRange->All directive, i.e., Plot3D[Exp[-10*(x*x + y*y)], {x, -1, 1}, {y, -1, 1}, PlotRange->All] -- To reply via email subtract one hundred and four