RescaleYTop: Rescale top of y-axis to create ~4 plot objects and top edge...

Description Usage Arguments Value

View source: R/utils-limits.R

Description

Rescale top of y-axis to create ~4 plot objects and top edge of plot. This is an inaccurate emulation of (the top-end-of-plot behavior of) R graphics::par's "yaxs = 'r'" state, because we have to use "yaxs = 'i'" in spots, but still want the ~4 of the plot, so we adjust the y-axis endpoint accordingly after we do what we need.

Usage

1
RescaleYTop(object)

Arguments

object

A gsplot, plot object.

Value

The passed-in gsplot object, with y-axis top augmented (upwards).


USGS-R/repgen documentation built on April 14, 2021, 2:47 p.m.