lcars_rect {lcars}R Documentation

LCARS rectangle

Description

A simple wrapper around rect.

Usage

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)

[Package lcars version 0.3.8 Index]