Re: [R] degree C symbol in a function

2010-08-24 Thread Daisy Englert Duursma
Thanks for the advice, problem solved. -daisy On Wed, Aug 25, 2010 at 1:35 PM, David Winsemius wrote: > > On Aug 24, 2010, at 10:45 PM, Daisy Englert Duursma wrote: > >> Hello help, >> >> I have changed around some graphing code and made it into a function. >> Previously they y label of the axi

Re: [R] degree C symbol in a function

2010-08-24 Thread David Winsemius
On Aug 24, 2010, at 10:45 PM, Daisy Englert Duursma wrote: Hello help, I have changed around some graphing code and made it into a function. Previously they y label of the axis was inserted as text in its own layout box. text(1,1, expression(~degree~C),cex=1) This worked great and resulted i

Re: [R] degree C symbol in a function

2010-08-24 Thread Gabor Grothendieck
On Tue, Aug 24, 2010 at 10:45 PM, Daisy Englert Duursma wrote: > Hello help, > > I have changed around some graphing code and made it into a function. > Previously they y label of the axis was inserted as text in its own > layout box. > > text(1,1, expression(~degree~C),cex=1) > > This worked grea

Re: [R] degree C symbol in a function

2010-08-24 Thread Jorge Ivan Velez
Hi Daisy, Try it without paste(): > plot(1, col = 'white') > text(1,1, b_unit,cex=1) HTH, Jorge On Tue, Aug 24, 2010 at 10:45 PM, Daisy Englert Duursma <> wrote: > Hello help, > > I have changed around some graphing code and made it into a function. > Previously they y label of the axis was i

[R] degree C symbol in a function

2010-08-24 Thread Daisy Englert Duursma
Hello help, I have changed around some graphing code and made it into a function. Previously they y label of the axis was inserted as text in its own layout box. text(1,1, expression(~degree~C),cex=1) This worked great and resulted in the symbol for degree. In the function, I have changed it so