Got it.
Thanks again so much for the help.
Best,
Tim
>>> hadley wickham 3/10/2010 2:46 PM >>>
> By Q2 I was trying to refer to the Y-axis labels. For the polar plot, the
> Y-axis labels reside left of the panel. I was looking for a way to get the
> Y-axis labels to radiate out from the cente
> By Q2 I was trying to refer to the Y-axis labels. For the polar plot, the
> Y-axis labels reside left of the panel. I was looking for a way to get the
> Y-axis labels to radiate out from the center so it would be clear which line
> each label refers to. I still can't find any reference to movi
Hadley,
Thanks for chiming in.
By Q2 I was trying to refer to the Y-axis labels. For the polar plot, the
Y-axis labels reside left of the panel. I was looking for a way to get the
Y-axis labels to radiate out from the center so it would be clear which line
each label refers to. I still can't
For Q2 you can use opts(legend.position = c(0.9, 0.9)).
For Q3, you can also use scale_y_sqrt().
Hadley
On Wed, Mar 10, 2010 at 2:05 PM, Tim Howard wrote:
> To answer two of my own questions to get them into the archives (I am slowly
> getting the hang of ggplot):
>
> Q1. use "opts(axis.text.
To answer two of my own questions to get them into the archives (I am slowly
getting the hang of ggplot):
Q1. use "opts(axis.text.x = theme_text(size=xx))" to change font size of the
bar labels:
library(ggplot2)
set.seed(5)
dat <- sample(1:8,100,replace=TRUE)
smp <- ggplot(data.frame(dat), aes
Dear R gurus -
consider this plot:
library(ggplot2)
dat <- sample(1:8,100,replace=TRUE)
smp <- ggplot(data.frame(dat), aes(x=factor(dat),fill=factor(dat))) +
geom_bar(width=1)
smp + coord_polar()
Q1. How do I change the font size and weight of bar labels (1,2,3...)? I've
been wallowing in
6 matches
Mail list logo