3
如何將標籤居中在x軸上以與條形符合?另外,如何將x軸標籤進一步向下放置,使其不會被x軸標籤遮擋?謝謝!在條形圖中居中條形標籤r
par(mar= c(15,4,4,2) + 0.1)
barplot(58:1,xaxt="n",xlab="",ylab="Frequency", col=gray(5:0/5))
axis(1, labels=FALSE)
text(1:58, par("usr")[3] - 0.25, srt = 90, adj = 1,
labels = rep("Long Species Name",58), xpd = TRUE)
mtext(1, text = "Species", line=6)
謝謝你的詳盡的解釋很清晰。再次感謝! – Elizabeth 2012-08-05 10:57:27