generate 2-D plot object for a sector of a disk or annulus
sector([x, y], r, a..b, options)
sector([x, y], r1..r2, a..b, options)
center of the sector
radius of the sector
starting and finishing radius of an annular sector
starting angle in radians
finishing angle in radians
(optional) equations of the form option=value. For a complete list, see plot/options.
The sector command creates a two-dimensional plot data object, which when displayed is a sector of the disk of radius r and centered at [x,y]. The sector starts at radian angle a and ends at radian angle b.
If the radius is given as a range r1..r2, the sector of an annulus of inside radius r1 and outside radius r2 is created.
The plot data object produced by the sector command can be used in a PLOT data structure, or displayed using the plots[display] command.
Remaining arguments are interpreted as options, which are specified as equations of the form option = value. For more information, see plottools and plot/options.
The name pieslice is accepted as a synonym for sector for compatibility with earlier releases.
c ≔ sector⁡1,1,5,0..Pi4,color=blue:
d ≔ sector⁡1,1,5,Pi4..4⁢Pi3,color=red:
e ≔ sector⁡1,1,5,4⁢Pi3..35⁢Pi18,color=green:
f ≔ sector⁡1,1,5,35⁢Pi18..2⁢Pi,color=yellow:
The plottools[sector] command was introduced in Maple 16.
For more information on Maple 16 changes, see Updates in Maple 16.
Download Help Document
What kind of issue would you like to report? (Optional)