Unicode character with superscript

前端 未结 1 1643
迷失自我
迷失自我 2021-01-22 21:00

I have an R plot with an axis of dimension squared Angstroms.

I can create the correct Angstrom symbol with Unicode like so:

plot.new()
text(x=0.5, y=0.8         


        
1条回答
  •  有刺的猬
    2021-01-22 21:20

    I think the cleanest way is probably:

    plot.new()
    text(0.5, 0.7, labels = quote("Interface area " * (Å ^ 2)))
    

    0 讨论(0)
提交回复
热议问题