Hi,
try this,
ylab = expression(Temperature~(degree*F))
?plotmath
baptiste
2009/12/20 Kim Jung Hwa <kimhwamaillist at
gmail.com>:> Hi All,
>
> I'm wondering if its possible to write degree in symbol.
>
> I would like y-label as "Temperature (degreeF)". where degree
should be in
> symbols. Thanks in advance,
>
> #R Code
> library(lattice)
> data(barley)
> barchart(yield ~ variety | site, data = barley,
> ? ? ? ? groups = year, layout = c(1,6),
> ? ? ? ? ylab = "Temperature (degreeF)",
> ? ? ? ? scales = list(x = list(abbreviate = TRUE,
> ? ? ? ? ? ? ? ? ? ? ? minlength = 5)))
> ~Kim Jung Hwa
>
> ? ? ? ?[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>