Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Question on graph twoway and graph combine


From   Alberto R Osella <arosella@irccsdebellis.it>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Question on graph twoway and graph combine
Date   Wed, 07 Dec 2011 11:24:12 +0100

Thank you Lars

Alberto R. Osella, MD, PhD
Laboratorio di Epidemiologia e Biostatistica
IRCCS Saverio de Bellis
Via Turi, 27
70013 Castellana Grotte (BA)
Italia
Tel:    +39 0804994655
Fax:    +39 0804994650
e-mail: arosella@irccsdebellis.it


Il 07/12/2011 10:57, Lars Folkestad ha scritto:
Im not sure if it has anything to with anything or if in just being silly, but using the by option renders a graph where the groups are seperatet in the same graph, but in the same grid.

Using grc1leg , common y - you get two grids and the groups are visually easier to distinguish.

Mvh
Lars Folkestad


Den 07/12/2011 kl. 10.18 skrev "Nick Cox"<njcoxstata@gmail.com>:

That's good advice, but I don't understand why -by()- couldn't be used
in the first place. What does any estimation process have to do with
graphing?

Nick

On Wed, Dec 7, 2011 at 9:09 AM, Phil Clayton
<philclayton@internode.on.net>  wrote:

You could try -findit grc1leg-

On 07/12/2011, at 8:09 PM, Alberto R Osella wrote:

I'm using Stata 12.0 on W7. I've drawn two graphs (one for each sex) by using -graph twoway- and then I've combined them by using -graph combine-. I've drawn graphics separately because I can't using the by() option as a result of the estimation process. The resulting combine graph has two legends (the same) and I want a graph with only one legend.
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/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/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/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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