Statalist


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

Re: st: legend border


From   "Sebastian F. Büchte" <sfbuechte@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: legend border
Date   Fri, 3 Aug 2007 11:00:41 +0200

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 <Thomas.Gschwend@mzes.uni-mannheim.de> 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/



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