I would like to add the "per ten thousand" symbol to an axis label with ggplot2
.
To insert the "per thousand" symbol I can use :
library(ggplot2)
qplot(1, 1) + ylab("\u2030")
But when I use
qplot(1, 1) + ylab("\u2031")
to generate the "per ten thousand" symbol, the output generated is a box containing a question mark. The text family used is Calibri, however the same output is generated with the default text family.
Is this symbol supported?
You need to use a font that supports this symbol. From this list I tried
Arial Unicode MS
:Consult this tutorial for changing fonts in ggplot2.