agg_xlim: Specify the x limits for a graph

Description Usage Arguments See Also Examples

View source: R/gg-constructors.R

Description

Specify the x limits for a graph

Usage

1
agg_xlim(min, max, panel = NULL)

Arguments

min

The minimum for the x-axis (can be NA to have arphit guess, based on your data)

max

The maximum (can also be NA, as above)

panel

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

See Also

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

Examples

1
2
arphitgg(data) + agg_xlim(min = -10, max = 10)
arphitgg(data) + agg_xlim(min = -10, max = 10, panel = "1")

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