|
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Re: Tip - Special characters in labels, titles of graphs &c
From
"Michael Blasnik" <[email protected]>
To
<[email protected]>
Subject
Re: st: Re: Tip - Special characters in labels, titles of graphs &c
Date
Tue, 12 Dec 2006 10:06:14 -0500
The char() function can return different results depending on your font (and
therefore OS). You can get a quick listing of what is available by changing
your font in the Stata results window to one that shows upper ASCII
characters (rather than just ?) and then :
forval i=123(1)255 {
di "`i': " char(`i')
}
M Blasnik
----- Original Message -----
From: "David Airey" <[email protected]>
To: <[email protected]>
Sent: Tuesday, December 12, 2006 9:34 AM
Subject: re: st: Re: Tip - Special characters in labels, titles of graphs &c
The char(178) doesn't work on my Mac. Char(181) does.
local mu=char(181)
local squared=char(179)
sysuse auto
graph tw scatter weight mpg , ///
title("here is mu: `mu', here is mpg squared: mpg`squared'")
Oops. Neither does char(179) work.
*
* 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 |