Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.

# Re: st: Question on graph twoway and graph combine

 From Nick Cox To statalist@hsphsun2.harvard.edu Subject Re: st: Question on graph twoway and graph combine Date Wed, 7 Dec 2011 10:09:12 +0000

```Nothing silly here.

I agree that you need think carefully about choices here and it's a
matter of what works best.

Nick

On Wed, Dec 7, 2011 at 9:57 AM, Lars Folkestad <lfolkestad@health.sdu.dk> wrote:

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

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?

On Wed, Dec 7, 2011 at 9:09 AM, Phil Clayton

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