Learn R Programming

caroline (version 0.9.9)

usr2lims: 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)

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

Arguments

adj

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

See Also

par

Examples

Run this code
plot(c(0,1), c(0,1))
usr2lims()

Run the code above in your browser using DataLab