agg_ylim: Specify the y scale for a graph

Description Usage Arguments See Also Examples

View source: R/gg-constructors.R

Description

Specify the y scale for a graph

Usage

1
agg_ylim(min, max, nsteps, panel = NULL)

Arguments

min

The minimum for the y-axis

max

The maximum

nsteps

The number of steps (includes the minimum and maximum)

panel

(optional) Which panel to apply the scale to. If left blank, will be applied to all panels. You can specify a vector of panels (e.g. 'panel = c("1","3")') to apply the scale to multiple panels at once.

See Also

vignette("plotting-options", package = "arphit") for a detailed description of all the plotting options

Examples

1
2
3
arphitgg(data, layout = "2b2") + agg_ylim(min = -10, max = 10, nsteps = 5)
arphitgg(data, layout = "2b2") +
  agg_ylim(min = -10, max = 10, nsteps = 5, panel = "1")

angusmoore/arphit documentation built on Feb. 15, 2021, 9:40 a.m.