Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Other characters in graph labels

From   "Marcelo Villafani" <>
To   <>
Subject   st: RE: Other characters in graph labels
Date   Sun, 25 Mar 2007 12:10:39 -0400

I think the easiest way is to define a local macro with the desired
non-English character and then call it when you are labeling the variable.
For instance to display "year" written in Spanish:

local enie=char(241)
label variable fecha "A`enie'o"

I use -asciiplot- to map the ascii code characters (you can install it from

For more details check these great references:

Cox N.J. (2006). Thirty-three Stata tips. College Station,
TX: Stata Press.

Cox N.J. (2004). Stata tip 6: Inserting awkward characters into the plot.
The Stata Journal 4(1): 95-96.



Marcelo Villafani-Ibarnegaray
Rural Finance Program
Agricultural, Environmental and Development Economics
The Ohio State University
Columbus, OH 43210

Phone: (614) 292-9516
Fax: (614) 292-7362

*   For searches and help try:

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