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 >

Circle

Circle[{x, y}, r]
is a two-dimensional graphics primitive that represents a circle of radius r centered at the point x, y.
Circle[{x, y}]
gives a circle of radius 1.
Circle[{x, y}, r, {Theta1, Theta2}]
gives a circular arc.
Circle[{x, y}, {rx, ry}]
gives an ellipse 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.
  • Circle[{x, y}, {rx, ry}, {Theta1, Theta2}] yields a segment of an ellipse obtained by transforming a circular arc 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.  »
  • The thickness of the circle can be specified using the Thickness primitive.  »
  • Individual coordinates, lists of coordinates, and parameters in circles can be Dynamic objects.
A unit circle:
A circular arc:
An ellipse:
Differently styled circles:
Specify radii:
Specify centers:
A circular arc:
An ellipse:
An elliptical arc:
Short form for a unit circle at the origin:
Circles with different thicknesses:
Thickness in scaled size:
Thickness in printer's points:
Dashed circles:
Colored circles:
Using Scaled coordinates and radii:
Use ImageScaled coordinates and radii:
Use Offset coordinates:
Use Offset to specify the radii in printer's points:
The square packing of circles:
The hexagonal packing of circles:
Define the circumcenter of a triangle:
Draw the circumcircle of an arbitrary triangle:
Simulation of elliptical gears:
Use Rotate to get all possible ellipses:
To create a filled circle use Disk:
The 3D generalization is Sphere:
An implicit specification of a circle can be generated by ContourPlot:
A parametric specification of a circle can be generated by ParametricPlot:
Using Scaled radii will depend on the PlotRange:
Using ImageScaled sizes will depend on the ImageSize and AspectRatio:
Random circles:
The seed of life:
A family of circles:
Yin and yang:
New in 2 | Last modified in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team