Re: RevolutionPlot3D: Specifying the axis of rotation

• To: mathgroup at smc.vnet.net
• Subject: [mg105337] Re: [mg105306] RevolutionPlot3D: Specifying the axis of rotation
• From: "David Park" <djmpark at comcast.net>
• Date: Sat, 28 Nov 2009 01:08:05 -0500 (EST)
• References: <27750143.1259322016865.JavaMail.root@n11>

```In Version 7:

RevolutionPlot3D[{f[x]}, {x, 0, 2},
RevolutionAxis -> {1, 0, 0},
AxesLabel -> {x, z, y}]

David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/

From: davef [mailto:davidfrick2003 at yahoo.com]

When I plot y=x^2 as...

f[x_] := x^2
Plot[f[x], {x, 0, 2}]
RevolutionPlot3D[{f[x]}, {x, 0, 2}, AxesLabel -> {x, z, y}]

... I get the function rotated about the y-axis (i.e., a parabola).

But what If I want to rotate the function about the x-axis so I get a
funnel-shaped graphic?

Is there an easy way to do this?

I can plot the function in terms of  y (x=y^1/2) and get the funnel
but it would easier to just specify the axis of rotation.

Can this be done?

```

• Prev by Date: Re: How to make {f,g}[a,b,c] to become {{f[a],g[a]},{f[b],g[b]},{f[c],g[c]}}
• Next by Date: Re: How to make {f,g}[a,b,c] to become
• Previous by thread: RevolutionPlot3D: Specifying the axis of rotation
• Next by thread: Re: RevolutionPlot3D: Specifying the axis of rotation