scale_x_truncate {campfin} | R Documentation |
Truncate the labels of a plot's discrete x-axis labels so that the text does not overflow and collide with other bars.
scale_x_truncate(n = 15, ...)
scale_x_wrap(width = 15, ...)
n |
The maximum width of string. Passed to |
... |
Additional arguments passed to |
width |
Positive integer giving target line width in characters. A width
less than or equal to 1 will put each word on its own line. Passed to
|