On Tue, 2 May 2006, Larsen, Thomas wrote: > I would like to write atom% 15N in the ylab of a plot - "15" should be > written as superscript. How do I put "%" into the expression? It does > not work if I type "%" directly after "atom" in the expression below. > > plot(1:10, ylab = expression(atom^15*N)) >
I would put % (and atom) in as a string "atom % " plot(1:10,ylab=quote("atom % "^{15}*N)) -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html