On Tue, 14 Jun 2005, Martin Maechler wrote:

>>>>>> "Peter" == Peter Alspach <[EMAIL PROTECTED]>
>>>>>>     on Tue, 14 Jun 2005 14:11:47 +1200 writes:
>
>    Peter> Ben
>
>    Peter> Others have pointed out plotmath.  However, for some
>    Peter> superscripts (including 2) it may be easier to use
>    Peter> the appropriate escape sequence (at in Windows):
>
>    Peter> ylab = 'BA (m\262/ha)'
>
> but please refrain from doing that way.
> You should write R code that is portable, and ``plotmath''
> has been designed to be portable.  Windows escape codes are not,
> and may not even work in future (or current?) versions of
> Windows with `unusual' locale settings {fonts, etc}.

Indeed, it only works for superscript 2 and 3 and only in Western European 
locales (I just happened to be testing Korean).  Also, the spacing is not 
done as carefully as plotmath.

-- 
Brian D. Ripley,                  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to