Specify the y scale for a graph

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

arphitgg(data, layout = "2b2") + agg_ylim(min = -10, max = 10, nsteps = 5)
#> dev.new(): using pdf(file="Rplots150.pdf")
arphitgg(data, layout = "2b2") + agg_ylim(min = -10, max = 10, nsteps = 5, panel = "1")
#> dev.new(): using pdf(file="Rplots151.pdf")