WLJS LogoWLJS Notebook

SphericalPlot3D

SphericalPlot3D[r, {θ, θmin, θmax}, {ϕ, ϕmin, ϕmax}] generates a 3D plot with spherical radius r as a function of spherical coordinates θ and ϕ.

SphericalPlot3D[{r1, r2, ...}, ...] generates a 3D spherical plot with multiple surfaces.

Examples

Plot a sphere:

SphericalPlot3D[1, {θ, 0, Pi}, {ϕ, 0, 2 Pi}]

Plot a more complex surface:

SphericalPlot3D[1 + 0.5 Sin[5 θ] Sin[5 ϕ], {θ, 0, Pi}, {ϕ, 0, 2 Pi}]

Something isn't working? Report an issue.

Please visit the official Wolfram Language Reference for more details.

On this page