Re: Plotting a x,y,z function
- To: mathgroup at smc.vnet.net
- Subject: [mg98690] Re: [mg98646] Plotting a x,y,z function
- From: DrMajorBob <btreat1 at austin.rr.com>
- Date: Thu, 16 Apr 2009 04:15:46 -0400 (EDT)
- References: <200904150859.EAA07975@smc.vnet.net>
- Reply-to: drmajorbob at bigfoot.com
That's not Mathematica syntax... it's YOUR math problem.
If you don't know what r is about, how could we possibly know?
That said, it's POSSIBLE you want r^2 to be x^2 + y^2.
Bobby
On Wed, 15 Apr 2009 03:59:44 -0500, chem_chick
<raeanne.napoleon at gmail.com> 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!
>
--
DrMajorBob at bigfoot.com
- References:
- Plotting a x,y,z function
- From: chem_chick <raeanne.napoleon@gmail.com>
- Plotting a x,y,z function