Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Visualization and Graphics > Symbolic Graphics Language > Graphics Objects >

Cone

Cone[{{x1, y1, z1}, {x2, y2, z2}}, r]
represents a cone with a base of radius r centered at (x1, y1, z1) and a tip at (x2, y2, z2).
Cone[{{x1, y1, z1}, {x2, y2, z2}}]
represents a cone with a base of radius 1.
  • Cone represents the whole filled cone, not just the surface.
  • The base of the cone is a disk.
  • The base radius of the cone can be specified either in absolute coordinates, or as Scaled[s].
  • Colors and other material properties of cones can be specified using color directives as well as Specularity and Glow.
  • Cones can be specified as transparent using Opacity directives.
  • Cone[] is equivalent to Cone[{{0, 0, -1}, {0, 0, 1}}].
  • Cone[{spec1, spec2, ...}] represents a collection of cones with base radius 1.
  • Cone[{spec1, spec2, ...}, r] represents a collection of cones with base radius r.
  • Cone[{spec1, spec2, ...}, {r1, r2, ...}] represents a collection of cones with specifications speci and base radii ri.
A unit radius and unit height cone:
A cone from the origin to {1, 1, 1} with radius 1/2 at its base:
Differently styled cones:
A unit radius and unit height cone:
In[1]:=
Click for copyable input
Out[1]=
A cone from the origin to {1, 1, 1} with radius 1/2 at its base:
In[2]:=
Click for copyable input
Out[2]=
 
Differently styled cones:
In[1]:=
Click for copyable input
Out[1]=
If no radius is specified, it is assumed to be 1:
Cone with different radii:
Cone with different directions:
Short form for a cone centered at the origin with a base radius 1:
Use Scaled coordinates:
Use Scaled radius:
Multiple cones:
Color directives specify the face colors of cones:
FaceForm and EdgeForm can be used to specify the styles of the faces and edges:
Different properties can be specified for the front and back faces using FaceForm:
Cones with different specular exponents:
White cone that glows red:
Opacity specifies the face opacity:
A simple 3D arrow chart:
Define a ChartElementFunction based on Cone:
BarChart3D uses Cone to produce 3D bar charts:
Histogram3D can similarly use Cone:
Use Cone to display bubbles in BubbleChart3D:
Use Scale to get an elliptical cone:
Cone is used as a 3D arrowhead in Arrow:
Cone is a special case of Tube:
Get a truncated cone by specifying different radii in Tube:
A parametric specification of a cone shell generated using ParametricPlot3D:
An implicit specification of a cone shell generated by ContourPlot3D:
Random unit cones:
Nested transparent cone:
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team