[R] Degree symbol as axis label superscript [RESOLVED]

Rich Shepard r@hep@rd @end|ng |rom @pp|-eco@y@@com
Tue Nov 30 22:22:09 CET 2021


On Tue, 30 Nov 2021, David Winsemius wrote:

> Really? What was wrong with this?
> plot(1, 1, xlab=expression(32^degree) )  # the example given on ?plotmath

David,

Absolutely nothing. When there's no specific degree value in the label
because the axis represents a range of values there's no digit preceeding
the ^ symbol.

The axis label is 'Temperature (oC)' with the degree symbol preceeding a
character, not following a specific digit.

Rich



More information about the R-help mailing list