plot(1:10,ylab=expression("temperature "*delta*t)) 2009/8/19 e-letter <inp...@gmail.com>: > On 18/08/2009, Gavin Simpson <gavin.simp...@ucl.ac.uk> wrote: >> On Tue, 2009-08-18 at 13:06 +0100, e-letter wrote: >>> On 17/08/2009, Michael Knudsen <micknud...@gmail.com> wrote: >>> > On Mon, Aug 17, 2009 at 12:51 PM, e-letter <inp...@gmail.com> wrote: >>> > >>> >> I have tried to add the delta (δ) symbol to the y axis label and the >>> >> result is &D, using the command: >>> >> >>> >> ...ylab="δt"... >>> > >>> > Try ylab = expression(delta*t) instead. >>> > >>> This does not work, the result is >>> expression(delta*t) >> >> It works for the rest of us who suggested this. >> >> plot(1:10, ylab = expression(delta*t)) >> > True, but the following commands fails: > plot(1:10,ylab="temperature expression(delta*t)") > plot(1:10,ylab="temperature" expression(delta*t)) > Error: syntax error, unexpected SYMBOL, expecting ',' in > "plot(1:10,ylab="temperature" expression" > > So I want to be able to have 'δt' and 'temperature δt' as a y-axis label. > > ______________________________________________ > 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. >
-- _____________________________ Baptiste Auguié School of Physics University of Exeter Stocker Road, Exeter, Devon, EX4 4QL, UK http://newton.ex.ac.uk/research/emag ______________________________________________ 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.