extendYaxisLimits: Extend y-Axis Limits

Description Usage Arguments

View source: R/utils-plot.R

Description

Extends the Y-Axis limits if the error bars extend further than the current limits. Sets the y-limits to the smallest (and largest) value between the error bars and current plot limits.

Usage

1
extendYaxisLimits(gsplot, comparisonLims, side)

Arguments

gsplot

The gsplot object to extend limits for

comparisonLims

A vector containing minimum and maximum points to compare to Y-axis limits

side

The axis to be changed/compared to (default is 2, the y-axis).


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