[GRASS-user] add superscript to units on a legend

Hi…

I’m trying to create a map of soil carbon stocks so I would like the legend to display the units as "Mg C per ha" however I would prefer that the “per ha” was represented as “ha^-1” but obviously without the “^” and using superscript instead.

I have found how to set the units in r.support, however I cannot figure out how to format them with the superscript?

many thanks...

Hi,

I had the same problem some time ago, and just kept the “^” in µg/m^3 because i didn’t find superscript format nor in d.text (or the gui to add text) neither in ps.map…

But maybe in your case you can use mg/ha to avoid the ^?

Cheers,
Vero

···

2015-10-18 21:41 GMT-03:00 Davies, Kalu <kalu.davies@jcu.edu.au>:

Hi…

I’m trying to create a map of soil carbon stocks so I would like the legend to display the units as “Mg C per ha” however I would prefer that the “per ha” was represented as “ha^-1” but obviously without the “^” and using superscript instead.

I have found how to set the units in r.support, however I cannot figure out how to format them with the superscript?

many thanks…


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user