plots,sphereplot - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

# Online Help

###### All Products    Maple    MapleSim

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{\theta }=0..2\mathrm{\pi },\mathrm{\phi }=0..\mathrm{\pi }\right)$
 > $\mathrm{sphereplot}\left({1.3}^{z}\mathrm{sin}\left(\mathrm{\theta }\right),z=-1..2\mathrm{\pi },\mathrm{\theta }=0..\mathrm{\pi },\mathrm{style}=\mathrm{patch},\mathrm{color}=z\right)$
 > $\mathrm{sphereplot}\left(\left[z\mathrm{\theta },\mathrm{exp}\left(\frac{\mathrm{\theta }}{10}\right),{z}^{2}\right],\mathrm{\theta }=0..\mathrm{\pi },z=-2..2\right)$
 > $\mathrm{sphereplot}\left(\frac{5{\mathrm{cos}\left(y\right)}^{2}-1}{2},x=0..\mathrm{\pi },y=-\mathrm{\pi }..\mathrm{\pi },\mathrm{style}=\mathrm{PATCH}\right)$

 See Also