Set Coordinate System for 3-D Plots
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, spherical_math, spherical_physics, 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: plot3d⁡z⁡x,y,x=a..b,y=c..d.
For alternate coordinate systems this is interpreted differently. For example, when using cylindrical coordinates, Maple expects the command to be of the following form: plot3d⁡r⁡θ,z,θ=a..b,z=c..d,coords=cylindrical.
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: plot3d⁡r⁡θ,φ,θ=a..b,φ=c..d,coords=spherical.
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. A second convention for spherical coordinates is also available, called spherical_physics, in which the meanings of the second and third coordinates are swapped. For details, see coords. 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.
Define a new cylindrical system so z=z⁡r,θ instead of r=r⁡θ,z:
The command to create the plot from the Plotting Guide is
Download Help Document
What kind of issue would you like to report? (Optional)