# Re: st: -graph combine- problem

 From Jeph Herrin To statalist@hsphsun2.harvard.edu Subject Re: st: -graph combine- problem Date Mon, 21 Jul 2008 17:35:45 -0400

```Looking at my hasty post, I see it hardly makes sense. So
let me try again.

I have pairs of graphs; I would like to combine them so each
pair is in a single graph.

If I -graph combine- with no options, I get two graphs which
are compressed horizontally, side by side, so they look tall
and thin. Instead, I would like them side by side but with
the same aspect ratio as they have pre-combined.

I have tried a couple of methods. One that gives the correct
aspect ratios is to create them with -ysize(50)-; the resulting
combined graph has two graphs, side by side, with correct
aspect ratio. However, the combined graph has a lot of white
space at the top and bottom. I need this to combined graph to
be only as tall as the graphs that are included.

There must be a simple way to do this, but I have not hit upon
it.

thanks,
Jeph

Jeph Herrin wrote:
```
```all,

I would have two perfectly good graphs that have a common
y-axis. I would like to combine them, but keep their
(common) aspect ratios.

All of my attempts leave a huge amount of margin at the
top and bottom. That is, the attempts which preserve the
graphs; the title ends up at the edge of this, and specifying
margin(zero) doesn't seem to reduce the margin at all.

How can I take two graphs, A and B, and combine them into
a single graph where they look just the same?

Jeph

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