[R] boxplot, vertical position of x-axis labels

Kay Cichini Kay.Cichini at uibk.ac.at
Tue Mar 16 14:37:01 CET 2010


hello,

i can't figure out how to change the vertical position of my x axis labels..

boxplot(c(1:12)~c(rep("1",6),rep("2",6)),at=c(1,2),
col=c(0,"grey"),las=1,xaxt="n")

### i put paragraphs in the x-labels because of limited horizontal space

axis(1,at=c(1,2),adj=1,labels=c("Salix
Scrub","Tall
Forb"))

...the labels are one line above usual position and cross the tickmarks and
i don't know how to get around this.

can anyone help with this?
thanks in advance. 

kay
-- 
View this message in context: http://n4.nabble.com/boxplot-vertical-position-of-x-axis-labels-tp1594857p1594857.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list