scale_x_cut
scale_y_cut
scale_x_cut(breaks, which = NULL, scales = NULL, expand = FALSE, space = 0.1)
scale_y_cut(breaks, which = NULL, scales = NULL, expand = FALSE, space = 0.1)
a numeric or numeric vector, the points to be divided
integer, the position of subplots to scales, started from left to right or top to bottom.
numeric, relative width or height of subplots.
default is FALSE, logical a vector of range expansion constants
used to add some padding around the data to ensure that they
are placed some distance away from the axes. Use the convenience
function expansion()
of ggplot2
to generate the values for
the expand
argument. The defaults are to expand the scale
by 5% on each side for continuous variables. If it is logical, the TRUE
means
the default of ggplot2
(foregoing statement), and FALSE
means no expand for the plot.
the blank space among the subplots after cut, default is 0.1 (cm).
gg object