user3170629 user3170629 - 1 year ago 106
R Question

italics and normal text in a main plot title

I am plotting a graph in R but the italics function and it is being pretty frustrating under the main title:

Mapped territories of different C. austriacus individuals at the Far Gardens coral reef site

Any help would be appreciated.

Answer Source

You didn't give any information about your data but if the problem is italics in the title, maybe this code could help:

plot(rnorm(100), main = substitute(paste(italic('p value'), " = 0.01")))

enter image description here

See also this question.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download