Displaying 1 result from an estimated 1 matches for "b_unit".
Did you mean:
x_unit
2010 Aug 25
4
degree C symbol in a function
...ve 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:
text(1,1,paste(b_unit),cex=1)
and
b_unit<-expression(~degree~C)
This now inserts ~degree~C instead of the symbol.
Any advice?
Thanks,
Daisy
--
Daisy Englert Duursma
Room E8C156
Dept. Biological Sciences
Macquarie University? NSW? 2109
Australia