Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2009

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

Search the Archive

Re: Plotting a x,y,z function

  • To: mathgroup at
  • Subject: [mg98675] Re: Plotting a x,y,z function
  • From: dh <dh at>
  • Date: Thu, 16 Apr 2009 04:13:01 -0400 (EDT)
  • References: <gs47lm$7p3$>


I assume the function you want to plot is: f[r_]:= r^2 Exp[-r^2/2]. But 

as this function only depends on r, the Contour surfaces will simply be 

spheres. Therefore the only thing to plot is



chem_chick wrote:

> I needed help plotting the following function:


> f[x_,y_,z_] = (x^2+y^2+z^2) e^-(r^2/2)


> ContourPlot3D[(x^2 + y^2 - z^2) Exp[-r^2/2], {x, -10, 10}, {y, -10,

>   10}, {z, -10, 10}]


> does not work because it doesn't understand what r (radius) is....what

> is the keyword/whatever for radius?  Or do I have to define r in terms

> of x,y,z somehow?!   Help with syntax will be great!


> Thanks!


  • Prev by Date: Re: Assuming odd/even functions
  • Next by Date: Re: MaxIterations for FindRoot called by NDSolve
  • Previous by thread: Re: Plotting a x,y,z function
  • Next by thread: Re: Plotting a x,y,z function