x and y axis labels changing in ggplo2:
p <- ggplot(d03, aes(x=cs,y=taille)) + geom_hline(data=temp.df) +
geom_boxplot() + facet_grid(.~sexe)
I had a similar question not too long ago. Try:
p + scale_x_discrete("new label x") + scale_y_continuous("new label y")
best wishes
ido
_
Hi,
I am new to the ggplot2 package and I am stuck with something which
must be quite basic : I can't manage to change the x and y axis labels
when I don't use the qplot command. I manged to change the main title
by modifying the title element of the ggplot object, but I can't find
the elements fo
2 matches
Mail list logo