Disk

Disk[{x,y},r]
represents a disk of radius r centered at .

Disk[{x,y}]
gives a disk of radius 1.

Disk[{x,y},{rx,ry}]
gives an axis-aligned elliptical disk with semiaxes lengths and .

Disk[{x,y},,{θ1,θ2}]
gives a sector of a disk from angle to .

DetailsDetails

  • Disk can be used as a geometric region and a graphics primitive.
  • Disk[] is equivalent to Disk[{0,0}]. »
  • Disk represents the filled region .
  • Angles are measured in radians counterclockwise from the positive x direction.
  • Disk can be used in Graphics.
  • In graphics, the points can be Scaled, Offset, ImageScaled, and Dynamic expressions.
  • Graphics rendering is affected by directives such as FaceForm, EdgeForm, and color.

ExamplesExamplesopen allclose all

Basic Examples  (5)Basic Examples  (5)

A unit disk:

In[2]:=
Click for copyable input
Out[1]=

A disk sector:

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]=

Get the Area of a disk:

In[1]:=
Click for copyable input
Out[1]=

The area of an ellipse:

In[2]:=
Click for copyable input
Out[2]=
Introduced in 1991
(2.0)
| Updated in 2014
(10.0)
Translate this page: