RevolutionAxis

RevolutionAxis
is an option for RevolutionPlot3D which specifies the revolution axis around which the curve should be rotated.

DetailsDetails

  • 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 and as the revolution axis.
  • RevolutionAxis->{x, z} uses the line through and .
  • RevolutionAxis->"X" etc. uses the x etc. axes as the revolution axes.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

Create a surface of revolution by rotating around the axis:

In[1]:=
Click for copyable input
Out[1]=

Rotate around the axis instead:

In[2]:=
Click for copyable input
Out[2]=
New in 7
New to Mathematica? Find your learning path »
Have a question? Ask support »