A simple wrapper around rect.

lcars_rect(xmin, xmax, ymin, ymax, color = "atomic-tangerine")

Arguments

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.

Value

draws a rectangle

Examples

plot(0:1, 0:1)
lcars_rect(0.1, 0.9, 0.6, 0.9)