Message-ID: <42939DB5.6000705@stat.auckland.ac.nz>
Date: 2005-05-24T21:33:41Z
From: Paul Murrell
Subject: 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/