简体   繁体   English

R 绘图标题大写和斜体

[英]R plot title with uppercase and italic

I'm trying to make a title with italic and uppercase text.我正在尝试使用斜体和大写文本制作标题。 Right now I have this code line:现在我有这个代码行:

main=substitute(paste(italic("S. aureus"), " (10^6) growth inhibition" ))

Any idea how to make the 6 uppercase?知道如何使 6 大写吗?

我们能试试

plot(1, main=expression(paste(italic("S. aureus"), " (10"^{6}*")"~"growth inhibition" )))

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM