[R] How can I write the square root symbol in an axes label?
dwinsemius at comcast.net
Tue Oct 9 20:32:37 CEST 2012
On Oct 9, 2012, at 11:13 AM, 21rosit wrote:
> And how can I write the units of my axis but outside the square root symbol
> I have
> plot(1:10, ylab=bquote(Log(sqrt("Total area (mm)"))))
> but I need it as in the attached picture
plot(1:10, ylab=bquote(Log(sqrt("Total area")~"(mm)")))
The tilde generates a space, while no space would occur if you substituted "*" for the "~".
David Winsemius, MD
Alameda, CA, USA
More information about the R-help