MathGroup Archive 2005

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

Search the Archive

Re: Re: 3d plots in mathematica 5.0


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
>


  • Prev by Date: Interpolation of function
  • Next by Date: Re: Multiple axes on MultipleListPlot
  • Previous by thread: Re: 3d plots in mathematica 5.0
  • Next by thread: Re: Re: 3d plots in mathematica 5.0