getPlotRanges: Get ggplot x and y ranges

View source: R/plotting.geoChronR.R

getPlotRangesR Documentation

Get ggplot x and y ranges

Description

Use this to extract x and y ranges from ggplot, dealing with changes in version

Usage

getPlotRanges(h)

Arguments

h

a ggplot object

Value

a list of x and y ranges

See Also

Other plot help: AD2BP_trans(), BP2AD_trans(), axisLabel(), bin2d(), geoChronRPlotTheme(), getLegend(), kde2d(), meltDistributionTable(), modeSelektor(), periodAnnotate(), quantile2d(), reverselog10_trans()


nickmckay/GeoChronR documentation built on July 4, 2025, 12:01 a.m.