On Wed, Mar 14, 2012 at 8:56 AM, Thomas Hoffmann <hoffm...@giub.uni-bonn.de> wrote: > Hi all, > > I still fail to plot an axis title with the following expression: > > plot(0,xlab=expression('(SOC [' * kgm^{-2} * '])' * ^{-2})) > > the xlab should look like: (SOC [kgm^2])^0.25 > > with an out bracket and a superscript. >
Like this ? plot(0,xlab=expression(paste('(SOC[',kgm^-2,'])'^0.25,sep=''))) > Thanks for your advice. > > Thomas > > > [[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. ______________________________________________ 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.