disk - Maple Help

# Online Help

###### All Products    Maple    MapleSim

plottools

 disk
 generate 2-D plot object for a disk

 Calling Sequence disk([x, y], r, options)

Parameters

 [x, y] - center of the disk r - (optional) radius of the disk; default is 1 options - (optional) equations of the form option=value. For a complete list, see plot/options.

Description

 • The disk command creates a two-dimensional plot data object, which when displayed is a disk of radius r centered at [x,y].
 • The plot data object produced by the disk 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{disk}\left(\left[1,1\right],5,\mathrm{color}=\mathrm{red}\right)\right)$

 See Also