[R] How to get % and subscript in plotmath
Peter Baker
peter.baker at cmis.csiro.au
Wed Sep 5 10:30:54 CEST 2001
Hi
I seem to have a problem getting both a subscript and a % symbol on a label
ylab=expression(S/S[MSY] (* plain(%) * )) or
ylab=expression(S/S[MSY] (%) )
and many variants gives a syntax error
ylab=paste(expression(S/S[MSY]), "(%)", sep="")
yields the % symbol but no subscripts
If I leave out the %, I get the subscript OK
Advice greatly appreciated
Regards
Peter
--
Dr Peter Baker, Statistician (Bioinformatics/Genetics),
CSIRO Mathematical & Information Sciences, 233 Middle St/
PO Box 120, CLEVELAND, QLD 4163 Australia.
Email: Peter.Baker at cmis.csiro.au
Phone:+61 7 3826 7263 Fax:+61 7 3826 7304
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list