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