plottools
circle
generate 2-D plot object for a circle
disk
generate 2-D plot object for a disk
Calling Sequence
Parameters
Options
Description
Examples
circle(c, r, opts)
disk(c, r, opts)
c
-
list; center of the circle
r
(optional) radius of the circle; default is 1
options
(optional) equations of the form option=value. For a complete list, see plot/options.
Any applicable 2-D plot option in plot/options can also be given.
filled : truefalse
Specifies whether to fill the inside of the arc. The default is false for circle and true for disk.
The rectangle command creates a two-dimensional plot data object, which
The circle command creates a two-dimensional plot data object, which when displayed is a circle of radius r centered at c.
The disk command creates a two-dimensional plot data object, which when displayed is a disk of radius r centered at c.
The plot data object produced by these commands 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.
with⁡plottools:
with⁡plots:
c1≔circle⁡1,1,1,color=blue:
c2≔circle⁡12,1,12,color=red:
display⁡c1,c2
display⁡disk⁡1,1,5,color=red
See Also
plot/options
plot/structure
plots[display]
plottools[arc]
Download Help Document