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

Disk

Disk
is a two-dimensional graphics primitive that represents a filled disk of radius r centered at the point x, y.
Disk
gives a disk of radius 1.
Disk
gives a segment of a disk.
Disk
gives an elliptical disk with semiaxes of lengths and , oriented parallel to the coordinate axes.
  • Angles are measured in radians counterclockwise from the positive x direction.
  • Disk yields an elliptical disk segment obtained by transforming a circular disk segment with the specified starting and ending angles. »
  • Scaled or Scaled can be used in the radius specification. The are in scaled coordinates, and the are in ordinary coordinates.
  • Offset can be used to specify radii in printer's points. »
  • FaceForm and EdgeForm can be used to specify how the interiors and boundaries of disks should be rendered. The default is that no explicit edge is drawn. »
  • Individual coordinates, lists of coordinates, and parameters in disks can be Dynamic objects.
A unit disk:
A disk segment:
An elliptical disk:
Differently styled unit disks:
A unit disk:
In[1]:=
Click for copyable input
Out[1]=
 
A disk segment:
In[1]:=
Click for copyable input
Out[1]=
 
An elliptical disk:
In[1]:=
Click for copyable input
Out[1]=
 
Differently styled unit disks:
In[1]:=
Click for copyable input
Out[1]=
Specify radii:
Specify centers:
A disk segment:
An elliptical disk:
An elliptical disk segment:
Short form for a unit disk at the origin:
Color directives specify the face colors of disks:
FaceForm and EdgeForm can be used to specify the styles of the interiors and boundaries:
Boundaries of an elliptical disk segment:
Use Scaled coordinates and radii:
Use ImageScaled coordinates and radii:
Use Offset coordinates:
Use Offset to specify the radii in printer's points:
Use a Disk to annotate a plot of a trig function:
Make a pie chart:
Archimedes' approximation of the circle area:
The square packing of disks:
The hexagonal packing of disks:
Simulation of elliptical gears:
Use Rotate to get all possible elliptical disks:
The boundary of a disk defines a circle:
An implicit specification of a disk can be generated using RegionPlot:
A parametric specification of a disk can be generated using ParametricPlot:
Using Scaled radii will depend on the PlotRange:
Using ImageScaled sizes will depend on the ImageSize and AspectRatio:
Random disk collections:
A family of disks:
Digital petals:
Yin and yang:
New in 2 | Last modified in 6