【发布时间】:2022-05-06 01:05:14
【问题描述】:
是否可以在 expression() 函数中产生换行符?粗体字至少需要分成两句话。
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}*")"))
任何帮助将不胜感激!
【问题讨论】:
-
接受一些人们已经给你的答案怎么样。
-
你需要
"\n"。例如"Fig. 3. Relationship between\ndiffuse attenuation"将在"between"和"diffuse"之间引入换行符
标签: r expression