[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Re: RE: Installing symbolstyles
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?
>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.
>----- Original Message ----- From: "Nick Cox" <email@example.com>
>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.
>>1 use printable characters within marker label variables
>>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: