[R] Sizing axis labels in ggplot2

arun smartpink111 at yahoo.com
Wed Dec 4 04:29:30 CET 2013



Hi,
Try:
bp+theme(axis.text=element_text(size=14),axis.title=element_text(size=16,face="bold"))

A.K.


On Tuesday, December 3, 2013 9:41 PM, David Arnold <dwarnold45 at suddenlink.net> wrote:
All,

Say I do:

require(ggplot2)
names(PlantGrowth)
bp <- ggplot(PlantGrowth,aes(x=group,y=weight))+geom_boxplot()

But the default axis labels and tick labels are just too small for me to
read.

What is the easiest was to enlarge the font size of axis labels and tick
labels?

Thanks.

D.



--
View this message in context: http://r.789695.n4.nabble.com/Sizing-axis-labels-in-ggplot2-tp4681605.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list