Is it possible to compose a string to be used as axis title in ggplot2, with the main part being drawn using one given font and font size, and the last part being drawn with another font and font size. See below for an example
my axis title(units)
Currently struggling to achieve this.
Thanks in advance for suggestions
Yes, you have to use plotmath annotations. So the text has to be parsed as an expression, and you can use functions such as italics() and bold(). But beware, you can't have spaces, spaces have to be represented with ~ or *.