On Mar 16, 2010, at 9:37 AM, Kay Cichini wrote:
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
Try using the padj argument (and it bothered me to use the <cr>'s
rather than "\n", so I modified the labels argument as well):
axis(1,at=c(1,2),adj=1,padj=0.5,labels=c("Salix\nScrub","Tall\nForb"))
...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.
--
David Winsemius, MD
West Hartford, CT
______________________________________________
R-help@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.