plots - Maple Help

Home : Support : Online Help : System : Libraries and Packages : Deprecated Packages and Commands : Deprecated commands : plots/obsolete/sphereplot(deprecated)

plots

 sphereplot
 plot a 3-D surface in spherical coordinates

 Calling Sequence sphereplot(L, r1, r2, options)

Parameters

 L - procedure or expression having two variables, or list of three such procedures or expressions r1, r2 - ranges of the form $\mathrm{var}=a..b$ options - (optional) plot options; see plot3d/option

Description

 • Important: The sphereplot command has been deprecated.  Use the superseding calling sequence plot3d(args, coords=spherical), which is equivalent to the plots[sphereplot](args) calling sequence.  For more information, see plot3d[coords].
 • The sphereplot command creates a three-dimensional plot of a surface or parametric surface in spherical coordinates.  The individual functions can be in the form of either expressions or procedures.
 • If L is not a list, then L represents radius given in terms of theta and phi. Otherwise, if L is a list, then the three components represent radius, theta, and phi, respectively.
 • The remaining arguments are interpreted as options which are specified as equations of the form option = value. These options are the same as those found in plot3d. For example, the option $\mathrm{grid}=\left[m,n\right]$ specifies that the set of points representing the three-dimensional plot is evaluated over an m by n grid of points. For more information, see plot3d/option.
 • The result of a call to sphereplot is a PLOT3D structure which can be rendered by the plotting device. You can assign a PLOT3D value to a variable, save it in a file, then read it back in for redisplay. For more information, see plot3d[structure].

Examples

Important: The sphereplot command has been deprecated.  Use the superseding calling sequence plot3d(args, coords=spherical), which is equivalent to the plots[sphereplot](args) calling sequence.

 > $\mathrm{with}\left(\mathrm{plots}\right):$
 > $\mathrm{sphereplot}\left(1,\mathrm{θ}=0..2\mathrm{π},\mathrm{φ}=0..\mathrm{π}\right)$
 > $\mathrm{sphereplot}\left({1.3}^{z}\mathrm{sin}\left(\mathrm{θ}\right),z=-1..2\mathrm{π},\mathrm{θ}=0..\mathrm{π},\mathrm{style}=\mathrm{patch},\mathrm{color}=z\right)$
 > $\mathrm{sphereplot}\left(\left[z\mathrm{θ},{ⅇ}^{\frac{\mathrm{θ}}{10}},{z}^{2}\right],\mathrm{θ}=0..\mathrm{π},z=-2..2\right)$
 > $\mathrm{sphereplot}\left(\frac{5{\mathrm{cos}\left(y\right)}^{2}-1}{2},x=0..\mathrm{π},y=-\mathrm{π}..\mathrm{π},\mathrm{style}=\mathrm{PATCH}\right)$