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

st: RE: Writing mathematics on graphs


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Writing mathematics on graphs
Date   Thu, 15 Sep 2005 21:33:09 +0100

This is to some extent dependent on 
the details of your set-up. You will
(probably) be able to get superscript 
square by either "{c 178}" or "`=char(178)'"
as part of a longer string. You can probably 
also get some fractions in the same way. 

See also 

Inserting awkward characters in the plot. 
Stata Journal 4(1):95--96 (2004) 

Nick
[email protected] 

Claus Dethlefsen 

Is there a way to add formatted text on plots (in the title, x-axis label or y-axis label) such as

m^2    (with superscript 2)
x_i      (with subscript i)

\frac{kg \cdot m}{s^2}     (a fraction and some extra formatting)

Or is the easiest way to do a plot without labels and then add them using an external program?

*
*   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