I am trying to get m"dot"s^-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 works fine.

I tried changing to:

plot(x,y,xlab=expression(paste("Target Velocity
(m",symbol("327"),s^-1,")")),ylab="Passage Probability",ylim=c(0,1))

which does not work.

I tried a couple of other iterations that also did not work.  Any help
is greatly appreciated!


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to