简体   繁体   中英

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?

我们能试试

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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