PRODUCTS
Products Overview
Mathematica
Mathematica Student Edition
Mathematica Home Edition
Wolfram
CDF Player
(free download)
Computable Document Format (CDF)
web
Mathematica
grid
Mathematica
Wolfram
Workbench
Wolfram
SystemModeler
Wolfram
Finance Platform
Mathematica
Add-Ons
Wolfram|Alpha Products
SOLUTIONS
Solutions Overview
Engineering
Aerospace Engineering & Defense
Chemical Engineering
Control Systems
Electrical Engineering
Image Processing
Industrial Engineering
Materials Science
Mechanical Engineering
Operations Research
Optics
Petroleum Engineering
Biotechnology & Medicine
Bioinformatics
Medical Imaging
Finance, Statistics & Business Analysis
Actuarial Sciences
Data Analysis & Mining
Econometrics
Economics
Financial Engineering & Mathematics
Financial Risk Management
Statistics
Software Engineering & Content Delivery
Authoring & Publishing
Interface Development
Software Engineering
Web Development
Science
Astronomy
Biological Sciences
Chemistry
Environmental Sciences
Geosciences
Social & Behavioral Sciences
Design, Arts & Entertainment
Game Design, Special Effects & Generative Art
Education
STEM Education Initiative
Higher Education
Community & Technical College Education
Primary & Secondary Education
Students
Technology
Computable Document Format (CDF)
High-Performance & Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
Merchandise
SUPPORT
Support Overview
Mathematica
Documentation
Knowledge Base
Learning Center
Technical Services
Community & Forums
Training
Does My Site Have a License?
Wolfram User Portal
COMPANY
About Wolfram Research
News
Events
Wolfram Blog
Partnerships
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
All Sites
Wolfram|Alpha
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Media
Wolfram
Tones
Wolfram Science
Stephen Wolfram
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE
DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.
DOCUMENTATION CENTER SEARCH
New to
Mathematica
?
Find your learning path
»
Mathematica
>
Visualization and Graphics
>
Symbolic Graphics Language
>
Graphics Objects
>
Sphere
>
BUILT-IN MATHEMATICA SYMBOL
Three-Dimensional Graphics Primitives
Tutorials »
|
Circle
Cylinder
Cone
Cuboid
GraphicsComplex
SphericalPlot3D
See Also »
|
Graphics Objects
Precollege Education
Summary of New Features in 7.0
Symbolic Graphics Language
New in 6.0: Graphics Primitives & Directives
New in 6.0: Visualization & Graphics
More About »
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
.
MORE INFORMATION
Sphere
renders as a sphere in
Graphics3D
.
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
is equivalent to
Sphere
.
»
Sphere
represents a collection of spheres with centers
and radii
.
EXAMPLES
CLOSE ALL
Basic Examples
(2)
A unit sphere at the origin:
Two intersecting spheres:
A unit sphere at the origin:
In[1]:=
Out[1]=
Two intersecting spheres:
In[1]:=
Out[1]=
Scope
(10)
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:
Applications
(5)
Platonic polyhedra represented by spheres:
Double helix:
Bubbles:
Use
Sphere
to render nodes in a
GraphPlot3D
:
Use
Sphere
in a
BubbleChart3D
:
Properties & Relations
(6)
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:
Neat Examples
(4)
Random sphere collections:
Cubic lattice of spheres:
BCC lattice of spheres:
Sample points used by
NIntegrate
:
SEE ALSO
Circle
Cylinder
Cone
Cuboid
GraphicsComplex
SphericalPlot3D
TUTORIALS
Three-Dimensional Graphics Primitives
MORE ABOUT
Graphics Objects
Precollege Education
Summary of New Features in 7.0
Symbolic Graphics Language
New in 6.0: Graphics Primitives & Directives
New in 6.0: Visualization & Graphics
New in 6 | Last modified in 7