Rdocumentation
powered by
Learn R Programming
ggrepel (version 0.4)
put_within_bounds: Move a box into the area specificied by x limits and y limits.
Description
Move a box into the area specificied by x limits and y limits.
Usage
put_within_bounds(b, xlim, ylim)
Arguments
b
A numeric vector representing a box like
c(x1, y1, x2, y2)
xlim
A numeric vector representing the limits on the x axis like
c(xmin, xmax)
ylim
A numeric vector representing the limits on the y axis like
c(ymin, ymax)