RevolutionAxis

RevolutionAxis

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

Details

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

Examples

open allclose all

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]=

Scope  (3)

See Also

RevolutionPlot3D  ViewVertical  RotationTransform  Axes

Introduced in 2008
(7.0)