Statalist


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

Re: st: legend border


From   Thomas Gschwend <[email protected]>
To   [email protected]
Subject   Re: st: legend border
Date   Fri, 03 Aug 2007 11:08:05 +0200

Very nice - and so easy (others would probably say "obvious").
Thanks a bunch, Sebastian

Sebastian F. B�chte schrieb:
Thomas

how about setting the legend's line color to white? Like this:

sysuse uslifeexp, clear
#delimit ;
line le_male le_female year,
legend(region(lcolor(white)))
graphregion(color(white));
#delimit cr


On 8/3/07, Thomas Gschwend <[email protected]> wrote:

I am working with Stata/SE 9.2 and try to produce graphs with a legend.
But I need to remove the borders. I tried -region(lcolor(none))- and
-region(lstyle(none))- without success. However, a tiny greyish border
still remains.

Here is an example:

sysuse uslifeexp, clear
#delimit ;
line le_male le_female year,
legend(region(lcolor(none)))
graphregion(color(white));
#delimit cr

#delimit ;
line le_male le_female year,
legend(region(lstyle(none)))
graphregion(color(white));
#delimit cr

Does anybody have an idea of how to completely remove the borders of
such a legend?
Any help is greatly appreciated,
Thomas

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

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

Thomas Gschwend, PhD
Mannheimer Zentrum fuer Europaeische Sozialforschung (MZES)
University of Mannheim
68131 Mannheim
Germany
0621.181.2809 (voice)
0621.181.2845 (fax)
[email protected]
http://www.sowi.uni-mannheim.de/lehrstuehle/lspol1/gschwend.htm



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