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

From |
"Eric G. Wruck" <ewruck@econalytics.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: Re: RE: Installing symbolstyles |

Date |
Thu, 20 Oct 2005 23:47:23 -0400 |

Thanks very much, Michael & Nick, for your suggestions. This idea of exploiting the graph font is intriguing. But if you wanted a Wingding font symbol for a marker, it sounds like you're stuck with the Wingding font for all the graph's text as well. Is that right? Or is it possible to change fonts within a graph? Thanks again, Eric >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. Wruck >> >>>Is 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:*"Michael Blasnik" <michael.blasnik@verizon.net>

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

**st: Re: RE: Installing symbolstyles***From:*"Michael Blasnik" <michael.blasnik@verizon.net>

- Prev by Date:
**Re: Re:st: r(603) error** - Next by Date:
**Re: st: Re: RE: Installing symbolstyles** - Previous by thread:
**Re: st: Re: RE: Installing symbolstyles** - Next by thread:
**Re: st: Re: RE: Installing symbolstyles** - Index(es):

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