Sander Oom
2005-May-24 15:43 UTC
[R] How to get special (Hershey) font symbols into plot axis labels? [Revisited]
Dear R users, I would like to use sub- and super-script in axis labels. I assume this is best done using Hershey symbols. When trying to find information on using Hershey font symbols in axis labels, I came across the following discussion thread: http://maths.newcastle.edu.au/~rking/R/help/02a/1857.html Have Hershey font implementations moved on since then? Thanks, Sander. -- -------------------------------------------- Dr Sander P. Oom Animal, Plant and Environmental Sciences, University of the Witwatersrand Private Bag 3, Wits 2050, South Africa Tel (work) +27 (0)11 717 64 04 Tel (home) +27 (0)18 297 44 51 Fax +27 (0)18 299 24 64 Email sander at oomvanlieshout.net Web www.oomvanlieshout.net/sander
Paul Murrell
2005-May-24 21:33 UTC
[R] How to get special (Hershey) font symbols into plot axis labels? [Revisited]
Hi Sander Oom wrote:> Dear R users, > > I would like to use sub- and super-script in axis labels. I assume this > is best done using Hershey symbols. When trying to find information on > using Hershey font symbols in axis labels, I came across the following > discussion thread: > > http://maths.newcastle.edu.au/~rking/R/help/02a/1857.html > > Have Hershey font implementations moved on since then?There hasn't been a lot of movement (it's not an oft-used feature), but things should be a bit better (though, e.g., may still be missing from title()). But the real answer is that you should use "plotmath" features (not Hershey fonts) for sub- or super-scripting. See ?plotmath Paul -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 paul at stat.auckland.ac.nz http://www.stat.auckland.ac.nz/~paul/