grid.semicircle {lodplot} | R Documentation |
Using grid graphical commands, draws a semicircle (including the base).
grid.semicircle(base.x, base.y, base.length, height = base.length, side = 1, orientation = NULL, col = NULL)
base.x |
is X coordinate of base |
base.y |
is Y coordinate of base |
base.length |
is length of base of semicircle |
height |
is height of semicircle |
side |
is orientation of semicircle, one of four cardinal directions |
orientation |
is orientation, in degrees |
col |
is line colour used to draw the semicircle |
Draw a semicircle either oriented to the four cardinal points (side
1=below 2=left 3=above, 4=right), in which case base.x
and
base.y
determine the bottom left point of base, or an angle,
when base.x
and base.y
are the midpoint of the base.
A grid graphical object.
David L Duffy