This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Sphere

Sphere
represents a sphere of radius r centered at .
Sphere
represents a sphere of radius 1.
Sphere
represents a collection of spheres of radius r.
  • The radius r can be specified either in absolute coordinates or as Scaled[s].
  • Colors and other material properties of spheres can be specified using color directives as well as Specularity and Glow. »
  • Spheres can be specified as transparent using Opacity directives. »
  • Sphere represents a collection of spheres with centers and radii .
A unit sphere at the origin:
Two intersecting spheres:
A unit sphere at the origin:
In[1]:=
Click for copyable input
Out[1]=
 
Two intersecting spheres:
In[1]:=
Click for copyable input
Out[1]=
A unit sphere:
Spheres with different radii:
Short form for a unit sphere at the origin:
Use Scaled coordinates:
Use Scaled radius:
Multiple spheres:
Colored spheres:
Different properties can be specified for the front and back of faces using FaceForm:
Spheres with different specular exponents:
White sphere that glows red:
Opacity specifies the face opacity:
Platonic polyhedra represented by spheres:
Double helix:
Bubbles:
Use Sphere to render nodes in a GraphPlot3D:
Use Scale to get ellipsoids:
The 2D version of Sphere is Circle:
An implicit specification of a sphere generated by ContourPlot3D:
A parametric specification of a sphere generated by ParametricPlot3D:
ChemicalData plots a molecule using spheres and cylinders:
Several Import formats use spheres to represent molecules:
Random sphere collections:
Cubic lattice of spheres:
BCC lattice of spheres:
Sample points used by NIntegrate:
New in 6 | Last modified in 7