Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica >

RevolutionAxis

RevolutionAxis
is an option for RevolutionPlot3D which specifies the revolution axis around which the curve should be rotated.
  • The default setting RevolutionAxis->{0, 0, 1} specifies that the z axis should be the revolution axis.
  • RevolutionAxis->{x, y, z} uses the line through {0, 0, 0} and {x, y, z} as the revolution axis.
  • RevolutionAxis->"X", etc. use the x, etc. axes as the revolution axes.
Create a surface of revolution by rotating around the z axis:
Rotate around the x axis instead:
Create a surface of revolution by rotating around the z axis:
In[1]:=
Click for copyable input
Out[1]=
Rotate around the x axis instead:
In[2]:=
Click for copyable input
Out[2]=
Revolve a function curve around the line through {0,0} and {1,1} in the x-z plane:
Specify axes by name:
Rotating around the y axis gives a disk:
Revolve a function curve around the line through {0,0,0} and {-1,-1,1}:
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team