Let's say I have a plot:
plot(1:5,1:5, main = "Plot Title here")
How do I make my main title both bold and italic?
I can make it bold or italic, but I've been unable to acheive both simultaneously.
main = expression(italic("Plot Title here")) #makes italic
main = expression(bold("Plot Title here")) #makes bold
main = expression(bold(italic("Plot Title here"))) #still only makes italic!
From ?plotmath:
main = expression(bolditalic("Plot Title here"))
plot(1:5,1:5, main = main)

Created on 2023-04-03 with reprex v2.0.2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With