MathGroup Archive 2009

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

Search the Archive

RevolutionPlot3D: Specifying the axis of rotation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg105306] RevolutionPlot3D: Specifying the axis of rotation
  • From: davef <davidfrick2003 at yahoo.com>
  • Date: Fri, 27 Nov 2009 06:28:50 -0500 (EST)

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: Replacing Values Close to One
  • Next by Date: Re: Replacing Values Close to One
  • Previous by thread: test implication
  • Next by thread: Re: RevolutionPlot3D: Specifying the axis of rotation