usr2lims: Grab and adjust the current plot dimensions

View source: R/plots.R

usr2limsR Documentation

Grab and adjust the current plot dimensions

Description

This is a simple function which grabs the current plot dimentions and adjusts them by shrinking them by 4

Usage

usr2lims(adj=.04)

Arguments

adj

The automatic adjustment factor 'plot' adds to buffer the specified plot dimentions.

Value

A 2 item (x and y) list of 2 item (min and max) vectors for x and y limits of the current plot area

See Also

par

Examples

plot(c(0,1), c(0,1))
usr2lims()

caroline documentation built on Oct. 21, 2024, 9:06 a.m.

Related to usr2lims in caroline...