[R] Adding math symbols to axis labels

2011-12-22 Thread tamre
I am trying to get mdots^-1 in a x-axis label for a publication ready graph. I can get ms^-1 with no problem, but I can't get the symbol for the dot to work. I am have tried the following: plot(x,y,xlab=expression(paste(Target Velocity (,ms^-1,))),ylab=Passage Probability,ylim=c(0,1)) which

Re: [R] Adding math symbols to axis labels

2011-12-22 Thread David Winsemius
On Dec 22, 2011, at 4:16 PM, tamre wrote: I am trying to get mdots^-1 in a x-axis label for a publication ready graph. I can get ms^-1 with no problem, but I can't get the symbol for the dot to work. I am have tried the following: plot(x,y,xlab=expression(paste(Target Velocity