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

Disk

Updated In 6 Graphic
Disk[{x, y}, r]
is a two-dimensional graphics primitive that represents a filled disk of radius r centered at the point x, y.
Disk[{x, y}]
gives a disk of radius 1.
Disk[{x, y}, r, {1, 2}]
gives a segment of a disk.
Disk[{x, y}, {rx, ry}]
gives an elliptical disk with semi-axes of lengths rx and ry, oriented parallel to the coordinate axes.
  • Angles are measured in radians counterclockwise from the positive x direction.
  • Disk[{x, y}, {rx, ry}, {1, 2}] yields an elliptical disk segment obtained by transforming a circular disk segment with the specified starting and ending angles.  »
  • Scaled[{drx, dry}] or Scaled[{drx, dry}, {rx, ry}] can be used in the radius specification. The dri are in scaled coordinates, and the ri are in ordinary coordinates.
  • Offset[{ax, ay}] 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.
New in 2 | Last modified in 6