Set Coordinate System for 3-D Plots
|
Description
|
|
•
|
The default coordinate system for all three dimensional plotting commands is the Cartesian coordinate system. The coords option allows the user to alter this coordinate system. The alternate choices are: bipolarcylindrical, bispherical, cardioidal, cardioidcylindrical, casscylindrical, confocalellip, confocalparab, conical, cylindrical, ellcylindrical, ellipsoidal, hypercylindrical, invcasscylindrical, invellcylindrical, invoblspheroidal, invprospheroidal, logcoshcylindrical, logcylindrical, maxwellcylindrical, oblatespheroidal, paraboloidal, paracylindrical, prolatespheroidal, rosecylindrical, sixsphere, spherical, tangentcylindrical, tangentsphere, and toroidal.
|
•
|
For a description of each of the above coordinate systems, see the coords help page.
|
•
|
When using Cartesian coordinates, z, the vertical coordinate, is expressed as a function of x and y: .
|
•
|
For alternate coordinate systems this is interpreted differently. For example, when using cylindrical coordinates, Maple expects the command to be of the following form: .
|
|
r, the distance to the projection of the point in the x-y plane from the origin, is a function of theta, the counterclockwise angle from the positive x-axis, and of z, the height above the x-y plane. For spherical coordinates the interpretation is: .
|
|
where theta is the counterclockwise angle measured from the x-axis in the x-y plane. phi is the angle measured from the positive z-axis, or the colatitude. These angles determine the direction from the origin while the distance from the origin, r, is a function of phi and theta. Other coordinate systems have similar interpretations.
|
•
|
The conversions from the various coordinate systems to Cartesian coordinates can be found in coords.
|
•
|
All coordinate systems are also valid for parametrically defined 3-D plots with the same interpretations of the coordinate system transformations.
|
|
|
Examples
|
|
>
|
|
>
|
|
>
|
|
>
|
|
>
|
|
>
|
|
Define a new cylindrical system so instead of :
>
|
|
>
|
|
The command to create the plot from the Plotting Guide is
>
|
|
|
|