On Dec 22, 2011, at 4:16 PM, tamre wrote:
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))
Instead:
?points
?plotmath
plot(1,1,xlab=expression("Target Velocity m"*symbol("\267")*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.
David Winsemius, MD
West Hartford, CT
______________________________________________
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.