Statalist


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

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


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: re: symbol for ">=" in graph text box
Date   Tue, 14 Oct 2008 16:04:28 +0100

As I understand it, ASCII characters up to 128 really are standard. From 129 up, it depends on your set-up. What is visible and easy to one person will be invisible or impossible to another on a different system. Stata cannot standardise what is beyond Stata. 

I am among those who directly or indirectly have not spelled out the second statement sufficiently in various writings. At some point we should hit the -asciiplot- help to make this clearer. However, I am also among those who do not wish to make categorical statements that may be quite wrong for set-ups I can't access (meaning, most). 

Nick
[email protected] 

Norton, Sam J

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

Leny Mathew

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!

On Tue, Oct 14, 2008 at 6:49 AM, Kit Baum <[email protected]> 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.
>

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index