library(ggplot2)
ggplot(mtcars, aes(hp, mpg)) +
geom_point() +
labs(x = bquote('x axis'~(Å^2)), y = "y axis") +
#or
#labs(x = bquote('x axis'~(ring(A)^2)), y = "y axis")
theme_bw()
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter