Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: st: Removing legend from combined graph
From
"Md. Alauddin Majumder" <[email protected]>
To
"[email protected]" <[email protected]>
Subject
RE: st: Removing legend from combined graph
Date
Fri, 17 May 2013 11:09:44 +0000
Thank you so much Maarten. I did a mistake and apologized for that in my last email.
Majumder
________________________________________
From: [email protected] [[email protected]] on behalf of Maarten Buis [[email protected]]
Sent: Friday, May 17, 2013 6:04 AM
To: [email protected]
Subject: Re: st: Removing legend from combined graph
On Fri, May 17, 2013 , Md. Alauddin Majumder wrote:
>>> I want to keep legend off in my combine graph. I use the
>>> following command:
>>>
>>> grc1leg graph1 graph2 graph3, title("Combine graph") leg(off)
On Fri, May 17, 2013 Maarten Buis wrote:
>> If you want no legend at all, you just create your
>> subgraphs with -legend(off)-, and than use -graph combine-.
On Fri, May 17, 2013 , Md. Alauddin Majumder wrote:
> I did exactly what you mentioned but still a default legend
> related to the first graph showed up.
Than you did not do exactly what I told you to do, because then there
would be no default legend to show up. Please give us the exact
commands you typed, otherwise we cannot answer your question. Here is
an example of how to do that:
*------------------ begin example ------------------
sysuse auto, clear
scatter price mpg foreign, legend(off) name(a)
scatter turn mpg foreign, legend(off) name(b)
graph combine a b
*------------------- end example -------------------
(For more on examples I sent to the Statalist see:
http://www.maartenbuis.nl/example_faq )
-- Maarten
---------------------------------
Maarten L. Buis
WZB
Reichpietschufer 50
10785 Berlin
Germany
http://www.maartenbuis.nl
---------------------------------
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/