Re: [R] plot ᵒ C in graph axis label

2013-02-08 Thread Pascal Oettli
Hello, I don't know whether it matches what you are looking for. Here are some example using different spacing: par(las=1, mfrow=c(2,2)) plot(1,1,ylab=expression(paste('rate (',degree~C^-1,')')), main='Spacing with ~') plot(1,1,ylab=expression(paste('rate (',degree,phantom(0),C^-1,')')),

[R] plot ᵒ C in graph axis label

2009-10-02 Thread e-letter
Readers, I have tried to use a plotmath command to add the temperature degree sign (i.e. ᵒ C) to the axis label of a graph: x-(1:10) y-(200:191) plot(x~y,ylab=expression(*degree~C)) Error: syntax error, unexpected '*', expecting ',' in plot(x~y,ylab=expression(* According to plotmath manual,

Re: [R] plot ᵒ C in graph axis label

2009-10-02 Thread baptiste auguie
Hi, You cannot start with a * in expression(). Try this, plot(x~y,ylab=expression(~degree~C)) or even, as a short-cut, plot(x~y,ylab=~degree~C) HTH, baptiste 2009/10/2 e-letter inp...@gmail.com: Readers, I have tried to use a plotmath command to add the temperature degree sign (i.e. ᵒ