[R] Plot degree symbol by itself
Henrik Andersson
han at dmi.dk
Thu Mar 29 10:28:18 CEST 2007
Andre Jung wrote:
> Dear all,
>
> I'm trying to plot the degree symbol by itself between two square
> brackets. I just want to have "K [°]". So far I got to:
>
> expression(K ~ group("[",1*degree,"]"))
> or
> expression(K ~ group("[",1^o,"]"))
>
> But it won't work without a number or letter.
>
>
This worked for me:
expression(K ~ group("[",degree,"]"))
> Any suggestions?
>
> Thanks,
> andre
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
>
--
Henrik Andersson
Danish Meteorological Institute
Lyngbyvej 100
2100 Copenhagen Ø
Denmark
Tel: +45 39157215
Email: han at dmi.dk
More information about the R-help
mailing list