Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: mathematical notation in graphs


From   Roger Newson <[email protected]>
To   [email protected]
Subject   st: Re: mathematical notation in graphs
Date   Tue, 07 Oct 2003 15:48:23 +0100

At 17:09 06/10/03 -0500, Dimitriy Masterov wrote:
Dear Statalist,

I was wondering if there is a way to incorporate mathematical notation
into Stata graph labels and notes. I would like to use subscripts and
Greek letters at the very least, but also more complicated formulas with
fractions and mathematical symbols like orthogonal. Is there a way to do
this is Stata, perhaps using TeX?
This has been on everybody's wish list since 1998, if not earlier. To the best of my knowledge, we are still waiting for subscripts and Greek letters in Stata graph labels and notes. You can, of course, use the menu sequence

Preferences->Graph preferences

to set the graph font to "Symbol", but this changes all letters on all graph labels to mathematical symbols and/or Greek letters, not just the letters you want to change in the graph labels you want to change.

What we really want is a facility for changing the font within a Stata graphics text box (eg a title, label or note). I don't know if StataCorp are working on this. However, until we have this, the best we can do is probably to make our Stata graphs without any axis labels or titles and to add our labels with subscripts and/or Greek letters to our figures at TeX level. I myself do not do this, and try to make do with "micrograms/litre" when I really would prefer $\mu{\rm gm/l}^{-1}$.

Roger


--
Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom

Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
or 020 7848 6605 International +44 20 7848 6605
Email: [email protected]
Website: http://www.kcl-phs.org.uk/rogernewson

Opinions expressed are those of the author, not the institution.

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index