David and Danel, Indeed, the missing symbol is "*". Now it works, although, with a change of font in the brackets of the axis=label. Thanks, david
> To: daviddou...@hotmail.com > Subject: Re: [R] superscript > From: davidcr...@charter.net > Date: Sat, 14 Feb 2009 17:49:11 -0600 > > > Could it be that the key expression should be something like: > > (gr/(0.25*m)^2) > > Cheers, > David Cross > > > David Douterlungne writes: > >> Dear R-users. >> >> I'm struggeling to fix the superscript of a label of a figure axis. For some >> reason R doesn't recognize the "hat" symbol. >> >> >> plot(1,1,xlab="ligth intensity (PAR)",ylab=expression("mass Pteridium >> rhizomes" (gr/0.25m^2))) >> >> >> A very similiar scriptline does not give any problem at all: >> >> plot(1,1,xlab=expression("balsa plot basal area" (m^2/ha)),ylab="light >> intensity (PAR)") >> >> >> Someone? >> _________________________________________________________________ >> >> s. It's easy! >> >> aspx&mkt=en-us >> ______________________________________________ >> 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. _________________________________________________________________ s. It's easy! aspx&mkt=en-us ______________________________________________ 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.