我希望我的情节中的物种名称以斜体字母显示。到目前为止,只有第一个名称在x轴上重复出现。此外,x轴的文本在某种程度上不是在正确的位置,我怎么能适应它? 我写了以下脚本:
boxplot(distance~bymedian,data=model1,col="lightgrey",las=2,ylab="Direct distance [m]",
par(mar=c(8,4,3,2)+0.25),cex.axis=0.8,xaxt="n")
axis(1,at=seq(1,14,by=1),labels=FALSE)
text(seq(1,14,by=1),par("usr")[3],-0.2,pos=2,srt=60,xpd=TRUE,cex.axis=0.8,labels=expression(italic("Alphonsea sp.","unknown","Alphonsea boniana","Embelia subcoriacea","Uvaria sp.",
"Mitrephora vandaeflora","Orophea polycarpa","Ardisia nervosa","Diospyros sp.",
"Cananga latifolia","Canthium umbellatum","Phoebe paniculata","Afzelia xylocarpa","Diospyros glandulosa")))
非常感谢您的任何建议!