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:

Rotate around the axis instead:

Scope  (3)

Revolve a function curve around the line through {0,0} and {1,1} in the plane:

Specify axes by name:

Rotating around the axis gives a disk:

Revolve a function curve around the line through {0,0,0} and {-1,-1,1}:

Introduced in 2008
 (7.0)