powered by
A simple wrapper around rect().
rect()
lcars_rect(xmin, xmax, ymin, ymax, color = "atomic-tangerine")
draws a rectangle
numeric, left x positions.
numeric, right x positions.
numeric, bottom y positions.
numeric, top y positions.
fill and border color. Can be any color given in hex format. Named colors must be LCARS colors. See lcarsdata for options.
plot(0:1, 0:1) lcars_rect(0.1, 0.9, 0.6, 0.9)
Run the code above in your browser using DataLab