Re: Re: 3d plots in mathematica 5.0
- To: mathgroup at smc.vnet.net
- Subject: [mg59142] Re: [mg59124] Re: 3d plots in mathematica 5.0
- From: Omega Consulting <info at omegaconsultinggroup.com>
- Date: Sat, 30 Jul 2005 01:25:16 -0400 (EDT)
- References: <200507290442.AAA03351@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Perhaps this is what you want:
r0=1.4;
Plot3D[Exp[-2(x^2 + y^2)/r0^2], {x, -2, 2}, {y, -2, 2}]
----------------------------------------------
Omega Consulting
The final answer to your Mathematica needs.
http://omegaconsultinggroup.com
On Jul 28, 2005, at 11:42 PM, jfitzp at gmail.com wrote:
> Hi,
>
> I would like to plot a 3d gaussian function but I'm having trouble
> getting started. Any help gratefully appreciated.
>
> Fiz.
>
> Here is the function
>
> w=exp(-2(x^2+y^2/r0^2))*exp(-2(z^2/z0^2))
>
> r0=1.4 and z0=1.4
>
- References:
- Re: 3d plots in mathematica 5.0
- From: jfitzp@gmail.com
- Re: 3d plots in mathematica 5.0