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

From |
"Michael Blasnik" <michael.blasnik@verizon.net> |

To |
<statalist@hsphsun2.harvard.edu> |

Subject |
st: Re: RE: Installing symbolstyles |

Date |
Wed, 19 Oct 2005 16:17:04 -0400 |

I'd like to expand a little on Nick's 1st suggestion. You can actually get at quite a variety of symbols by defining a variable that contains the symbol you want and using marker labels. It takes some experimentation, but if you can find a font that has the symbol you want, you can usually get it into a Stata graph as the marker. For example, I found that char(186) is the paragraph symbol in my default font, so:

gen str1 c186=char(186)

gr tw scatter mpg weight, mlab(c186) mlabpos(0) msym(i)

The resulting graph uses the paragraph symbol instead of a regular marker. If you want to access some more esoteric symbol that isn't in the default font's character set, you can change the font used in the graph window by using Graph-Preferences.

Michael Blasnik

michael.blasnik@verizon.net

----- Original Message ----- From: "Nick Cox" <n.j.cox@durham.ac.uk>

To: <statalist@hsphsun2.harvard.edu>

Sent: Wednesday, October 19, 2005 12:44 PM

Subject: st: RE: Installing symbolstyles

I believe not, as the code for this would require very low level programming and StataCorp have yet to publicise how to extend the graphics in this respect -- and on my guess are unlikely to do that in any foreseeable future. You can 1 use printable characters within marker label variables <snip> Nick n.j.cox@durham.ac.uk Eric G. WruckIs it possible to install a new symbolstyle (symbolstyles are the circles, triangles, squares & so forth that can be used to mark observations in a graph)? If so, how does one go about doing so?

* * 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/

**Follow-Ups**:**Re: st: Re: RE: Installing symbolstyles***From:*"Eric G. Wruck" <ewruck@econalytics.com>

**Re: st: Re: RE: Installing symbolstyles***From:*Ulrich Kohler <kohler@wz-berlin.de>

**References**:**st: RE: Installing symbolstyles***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

- Prev by Date:
**st: Using the variables from one sw-result in another regression** - Next by Date:
**st: Re: Using the variables from one sw-result in another regression** - Previous by thread:
**st: RE: Installing symbolstyles** - Next by thread:
**Re: st: Re: RE: Installing symbolstyles** - Index(es):

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