lcars_rect: LCARS rectangle

View source: R/shapes.R

lcars_rectR 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)

lcars documentation built on Sept. 10, 2023, 9:07 a.m.