Frans Marcelissen
>
>CC: R-help@r-project.org
>
>Onderwerp: Re: [R] ggplot2: setting martin
>
>
>
>Well, the margin
>is being set large enough to accommodate
>the labels.
>
>So if you want
>narrower margins just shorten the labels:
>
>
>
>library
Frans
-Oorspronkelijk bericht-
Van: Ista Zahn [mailto:istaz...@gmail.com]
Verzonden: zaterdag 22 december 2012 0:47
Aan: Frans Marcelissen
CC: R-help@r-project.org
Onderwerp: Re: [R] ggplot2: setting martin
Well, the margin
is being set large enough to accommodate
the labels.
So if you
Well, the margin is being set large enough to accommodate the labels.
So if you want narrower margins just shorten the labels:
library(stringr)
P + scale_x_discrete(labels = function(x) str_wrap(x, width=12))
HTH,
Ista
On Fri, Dec 21, 2012 at 5:35 PM, Frans Marcelissen
wrote:
> Is it possible
3 matches
Mail list logo