我需要添加一个换行符,但我在使用expression()
中的atop
函数时遇到了困难。我希望将main
这部分内容分为两行。
> plot (DAC~Chlo,data=brazilw,
pch=15,col="red",cex=0.5,
main=expression("Fig. 3. Relationship
between diffuse attenuation coefficient at 490 nm
(K"[d]*") and chlorophyll concentration at three coral
reef sites"),
xlab=expression("Chlorophyll concentration (mg "*m^{-3}*")"),
cex.lab=0.8,
cex.main=0.8,
cex.axis=0.8,
font.main=1,
ylim=c(0,0.3),
xlim=c(0,3.5),
ylab=expression("K"[d]*"(m"*-1^{-1}*")"))
atop
不满意,为什么不使用\n
呢? - Sven Hohenstein