问题
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?
回答1:
We can try
plot(1, main=expression(paste(italic("S. aureus"), " (10"^{6}*")"~"growth inhibition" )))
来源:https://stackoverflow.com/questions/33584083/r-plot-title-with-uppercase-and-italic