Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


  • Prev by Date: Graphics Text background problem
  • Next by Date: Re: Mathematica and Education
  • Previous by thread: Re: Plot3D
  • Next by thread: Re: Plot3D