SectorOrigin

SectorOrigin
is an option to PieChart and related functions that specifies where sectors should start.

DetailsDetails

  • Basic settings for SectorOrigin include:
  • Automaticdetermine the position of the first sector automatically
    Left,Right,Top,Bottomstart the first sector in the specified direction
    start the first sector radians from the positive x axis
  • SectorOrigin-> specifies that the first sector should begin at angle counterclockwise from the positive axis.
  • By default, sectors are added clockwise starting from the first sector.
  • SectorOrigin->{pos, sense} specifies the sense in which sectors should be added. Possible values are (or ) and (or ).
  • For donut-like charts, specifies that sectors should have inner radius r.
  • In PieChart and PieChart3D, r gives the fraction of the width of the annulus for each sector.
  • In SectorChart and SectorChart3D, r is in the same units as the radial component of data.

ExamplesExamplesopen allclose all

Basic Examples (3)Basic Examples (3)

Use SectorOrigin to indicate a donut chart:

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

Control the initial angle used for sectors:

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

Control the direction in which sectors are added:

In[1]:=
Click for copyable input
Out[1]=
New in 7
New to Mathematica? Find your learning path »
Have a question? Ask support »