Statalist The Stata Listserver


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

RE: st: Special character in a plot's legend


From   "MA V" <[email protected]>
To   [email protected]
Subject   RE: st: Special character in a plot's legend
Date   Wed, 24 Jan 2007 19:48:46 +0000

Thanks to all of you that replied to this question. I think all the graphs with the ASCII symbols are useful and look great. I am still hvaing trouble, though, finding a font that has the "sigma" (lower case) letter...
Do you have any suggestions of which font should I use for my plots?
Thanks!
MA




From: "MA V" <[email protected]>
Reply-To: [email protected]
To: [email protected]
Subject: st: Special character in a plot's legend
Date: Wed, 24 Jan 2007 01:07:24 +0000

Hi--
I am having some trouble adding a special character to a legend in a plot. Following the suggestion from a previous post, what I am doing is:
local sigma=char(228)
twoway histogram sig, den || spike max true, by(X) legend(label(2 "True")) yti(Density) xti("`sigma' for sets")

But, only a blank space appears where the character should be (in the legend).

I also tried
twoway histogram sig, den || spike max true, by(X) legend(label(2 "True")) yti(Density) xti("`char(228)")
but it didn't work...

I also read that this might happen for some fonts so I tried the same thing after changing the graph preferences to "Arial" and "Times New Roman" but this also didn't work.

Any idea of what I'm doing wrong?

Also, is there any way of adding subscripts in a legend?

Thanks,
MA

Note: I am using Stata9 for MAC

_________________________________________________________________
The MSN Entertainment Guide to Golden Globes is here. Get all the scoop. http://tv.msn.com/tv/globes2007/?icid=nctagline2

*
* 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/
_________________________________________________________________
Turn searches into helpful donations. Make your search count. http://click4thecause.live.com/search/charity/default.aspx?source=hmemtagline_donation&FORM=WLMTAG

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




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