[R] Misplacement of Greek letter

From: beloitstudent <schurrk_at_beloit.edu>
Date: Thu, 10 Jun 2010 22:36:26 -0700 (PDT)


I am trying to get my axis label to read as follows

(The symbol) Delta AUC blah blah...
then below it...(some other text)

The problem is the Delta symbol shows up beside the "(some other text)" rather than the "AUC". Does any one know how I can get the Delta to remain beside AUC?

Here is the actual command should you care to look at it.


barplot(c(5724.688,7290.7875), ylab=expression(paste(Delta,"AUC 45-200 min
\n(μg/ml * 155 min)"), xlim=c(0,1), width=0.16,
border="black",font.lab=2,cex.lab=2.1,cex.names=2, names.arg=c("Saline
\n(n=8)", "Exendin\n(9-39) (n=8)"),mgp=c(3,4,0), axisnames=TRUE,
ylim=c(0,10000), col=c('grey88','grey71'), axes=FALSE, lwd=2, space=.5)

axis(2, at=c("0", "2000", "6000","10000"), lwd=2, font=1.7, pos=-.025,cex.axis=2)

abline(h=0, untf=FALSE, lty=1, lwd=2)

arrows(.4, 8297.291, .4, 6284.284, code=3, angle=90, lwd=2) arrows(.16,7071.79,.16,4377.585, code=3, angle=90, lwd=2)

Thanks all!

View this message in context: http://r.789695.n4.nabble.com/Misplacement-of-Greek-letter-tp2251294p2251294.html
Sent from the R help mailing list archive at Nabble.com.

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Fri 11 Jun 2010 - 05:41:00 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 11 Jun 2010 - 12:00:29 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive