userCoordinatesToLimits: userCoordinatesToLimits

View source: R/limits.R

userCoordinatesToLimitsR Documentation

userCoordinatesToLimits

Description

back-calculate xlim and ylim from user coordinates of plot region

Usage

userCoordinatesToLimits(userCoordinates)

Arguments

userCoordinates

list with elements width, height, left, bottom, right, top, as returned by getPlotRegionSizeInUserCoords

Value

list with elements xlim and ylim, each of which is a numeric vector of length two.


KWB-R/kwb.plot documentation built on Oct. 2, 2023, 10:16 p.m.