plottools - Maple Help

Home : Support : Online Help : Graphics : Packages : Plot Tools : plottools/annulus

plottools

 annulus
 generate 2-D plot object for an annulus

 Calling Sequence annulus([x, y], r1..r2, options)

Parameters

 [x, y] - (optional) center of the annulus; default is [0,0] r1..r2 - (optional) inner and outer radius of the annulus; default is 1..2 options - (optional) equations of the form option=value. For a complete list, see plot/options.

Description

 • The annulus command creates a two-dimensional plot data object, which when displayed is an annulus of inner radius r1 and outer radius r2 centered at [x,y].
 • The plot data object produced by the annulus 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.

Examples

 > $\mathrm{with}\left(\mathrm{plottools}\right):$
 > $\mathrm{with}\left(\mathrm{plots}\right):$
 > $\mathrm{display}\left(\mathrm{annulus}\left(\right)\right)$
 > $\mathrm{display}\left(\mathrm{annulus}\left(\left[1,1\right]\right)\right)$
 > $\mathrm{display}\left(\mathrm{annulus}\left(2..3\right)\right)$
 > $\mathrm{display}\left(\mathrm{annulus}\left(2..3,\mathrm{color}="Red"\right)\right)$
 > $\mathrm{display}\left(\mathrm{annulus}\left(\left[2,2\right],\frac{1}{2}..2,\mathrm{color}="Green",\mathrm{style}='\mathrm{polygon}'\right)\right)$

Compatibility

 • The plottools[annulus] command was introduced in Maple 16.