Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: re: symbol for ">=" in graph text box


From   "Norton, Sam J" <s.j.norton@herts.ac.uk>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: re: symbol for ">=" in graph text box
Date   Tue, 14 Oct 2008 14:54:59 +0100

Hi

-asciiplot- gives me the same characters reported by Leny: 178=^2 and 179=^3.  I suspect this is because my OS is Windows XP, whereas Kit is probably using a Mac or Unix.

Additionally, I have just noticed that Greek letters are available using the Symbol font.  This is useful if only characters available with this font are needed.

Sam

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Leny Mathew
Sent: 14 October 2008 14:32
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: re: symbol for ">=" in graph text box

Hi Kit..Thanks for the comment. This is completely strange since the
'asciiplot' on my system shows 'char(178)' and 'char(179)' as '2' and
'3' respectively! I'm using stata V10.1, and have graph preferences
set to courier new.
The values using the display command is below.

. display char(179)
³

. display char(178)
²

When I checked the ASCII codes, I found the codes for \leq and \geq as
243 and 242 in the extended ASCII list. I must be overlooking
something, but it doesn't seem obvious!

Leny




On Tue, Oct 14, 2008 at 6:49 AM, Kit Baum <baum@bc.edu> wrote:
> < >
> In my prior posting
>
> local ti "price `=char(178)' 10000"
> scatter price mpg if price>=10000,ti("`ti'")
>
> should have referred to char(179) to display \geq rather than \leq, given
> the -if- condition.
>
> Kit Baum, Boston College Economics and DIW Berlin
> http://ideas.repec.org/e/pba1.html
> An Introduction to Modern Econometrics Using Stata:
> http://www.stata-press.com/books/imeus.html
>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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