MathGroup Archive 2009

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

Search the Archive

Re: RevolutionPlot3D: Specifying the axis of rotation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg105354] Re: RevolutionPlot3D: Specifying the axis of rotation
  • From: Helen Read <hpr at together.net>
  • Date: Sun, 29 Nov 2009 05:10:29 -0500 (EST)
  • References: <heoe25$4q7$1@smc.vnet.net>
  • Reply-to: HPR <read at math.uvm.edu>

davef wrote:
> 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?

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

-- 
Helen Read
University of Vermont


  • Prev by Date: Mathematica 7 crash on confusing setting of Manipulate Controls
  • Next by Date: Re: ListPointPlot3D - how to join points
  • Previous by thread: Re: RevolutionPlot3D: Specifying the axis of rotation
  • Next by thread: BarChart3D Axes Label Problem