Skip to contents

Update the x,y limits of a plot

Usage

update_bound(p, x = NULL, y = NULL)

Arguments

p

A ggplot() object

x, y

Vectors of new x and y limits.

Value

a ggplot object