Consider the following example:
plot(c(2,4,6)~c(1,2,3),xlab="x", ylab=expression(paste('flux (g ',CO[2]~m^{-2}~h^{-1},')')))
Obviously, I want the full space between "g" and "CO", but for some reason I get less (with some labels even zero) space in the graph label.
The problem is even more obvious if I do it like this:
plot(c(2,4,6)~c(1,2,3),xlab="x", ylab=expression(paste('flux (g C',O[2]~m^{-2}~h^{-1},')')))
Am I doing something wrong? Is there a way to fix the spacing or even a better way to create shortcuts with lots of sub / superscript and Greek letters?
Rolling
source share