MathGroup Archive 2006

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

Search the Archive

Re: SImple Plot3D issue


jtolman at gmail.com wrote:
> I am trying to plot the 3D function e^-(x^2 + y^2) (x^2 + 2y^2)
> 
> Plot3D[e^-(x^2 + y^2) (x^2 + 2 y^2), {x, -3, 3}, {y, -3, 3}]
> 
> I get not machine-size real number errors.  When I try
> 
> f = e^-(x^2 + y^2) (x^2 + 2 y^2)
> 
> I get a Syntax::noinfo: insufficient information error, although the
> output looks like a valid textbook style equation.
> 
> I've tried several variations on input but can't figure out where the
> syntax mistake is.
> 
All built-in Mathematica functions are capitalized. Thus, the base of 
the natural logarithm is written in plain text "E", not "e" [1].

Plot3D[(x^2 + 2*y^2)/E^(x^2 + y^2), {x, -3, 3}, {y, -3, 3}];

Regards,
Jean-Marc

[1] http://documents.wolfram.com/mathematica/functions/E


  • Prev by Date: RE: SImple Plot3D issue
  • Next by Date: Re: Simple Plot3D/Function Syntax issue
  • Previous by thread: RE: SImple Plot3D issue
  • Next by thread: Re: SImple Plot3D issue