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

From |
Steven Samuels <sjhsamuels@earthlink.net> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
st: Re: symbol for ">=" in graph text box |

Date |
Tue, 14 Oct 2008 10:50:08 -0400 |

-Steve On Oct 14, 2008, at 6:38 AM, Kit Baum wrote:

< >There is some confusion here. First of all ANSI does not definecharacter sets. (It is a standards organization, but for thingslike plumbing and electrical fixtures). What you mean is ASCII. IfI use -asciiplot- from SSC, it displays the available characters inmy current graphics font (set by Preferences->Graphics etc.)Whether I set the default graphics font to Helvetica, Times NewRoman or Courier (which are all standard PostScript fonts), ASCIIcode 178 is \leq and ASCII code 179 is \geq, and something likelocal ti "price `=char(178)' 10000" scatter price mpg if price>=10000,ti("`ti'")readily displays the \geq symbol in my graph without any PostScripthacking. This works fine on Mac OS X 10.5.5. If you set thecurrent graphics font, doesn't this same technique work on the DarkSide?Kit 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 On Oct 14, 2008, at 02:33 , Leny wrote:I'm trying to include the 'correct' symbol for ">=" in the legend text box in a graph. Looking through the archives, I found Nick Cox's article on inserting awkward characters in stata which recommended using the 'char' command with the ASCIIcodes. This would have worked, but the ASCII code for ">=" comesunderthe extended list (code- 242) and this produces a different character which corresponds to 242 in the ANSI list. It looks like ">=" doesn't exist in the ANSI list!* * 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/

**References**:**st: Re: symbol for ">=" in graph text box***From:*Kit Baum <baum@bc.edu>

- Prev by Date:
**RE: st: even categories** - Next by Date:
**RE: st: re: symbol for ">=" in graph text box** - Previous by thread:
**st: Re: symbol for ">=" in graph text box** - Next by thread:
**st: re: symbol for ">=" in graph text box** - Index(es):

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