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" <>
To   <>
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) 


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:

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