Re: Plot3d question
- To: mathgroup at smc.vnet.net
- Subject: [mg40098] Re: [mg40088] Plot3d question
- From: Selwyn Hollis <selwynh at earthlink.net>
- Date: Thu, 20 Mar 2003 03:33:25 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Jeremy,
You can use ParametricPlot3D to do something like this:
f[x_, y_] := 3*x*E^(-x^2 - y^2);
ParametricPlot3D[{r*Cos[q], r*Sin[q], f[r*Cos[q], r*Sin[q]]}, {r, 0,
2}, {q, 0, 2*Pi}]
----
Selwyn Hollis
On Wednesday, March 19, 2003, at 03:24 AM, Jeremy wrote:
> Is there any way to make Plot3D display its output in a cylinder,
> instead of
> a box?
>
> Thanks,
> Jeremy
>
>