[R] help with unit indication when plotting

Duncan Murdoch murdoch at stats.uwo.ca
Thu Sep 13 21:14:00 CEST 2007


On 9/13/2007 2:47 PM, Zheng Lu wrote:
> Dear all:
> 
> Is there any one could tell me how I can represent Micro-molar as an 
> unit of concentration when I plot with R(S-plus), I don't want write 
> 'uM' from keyboard, I am thinking to write it like in word, in word, 
> people insert symbol for 'u' for uM. Am I clear? Thank you very much 
> for your consideration and help.

plot(1,2, xlab=expression(mu * M))

See ?plotmath for all the other neat things R can do in labels on plots.

Duncan Murdoch



More information about the R-help mailing list