lcars_rect {lcars} | R Documentation |
A simple wrapper around rect()
.
lcars_rect(xmin, xmax, ymin, ymax, color = "atomic-tangerine")
xmin |
numeric, left x positions. |
xmax |
numeric, right x positions. |
ymin |
numeric, bottom y positions. |
ymax |
numeric, top y positions. |
color |
fill and border color. Can be any color given in hex format. Named colors must be LCARS colors. See lcarsdata for options. |
draws a rectangle
plot(0:1, 0:1)
lcars_rect(0.1, 0.9, 0.6, 0.9)