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]

From |
Partho Sarkar <partho.ss+lists@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: space between plots when using "graph combine" |

Date |
Sun, 18 Sep 2011 23:00:08 +0530 |

The information in -help region_options- ought to yield an answer to this. P.S. On Sun, Sep 18, 2011 at 10:06 PM, Maria Ana Vitorino <vitorino@wharton.upenn.edu> wrote: > I have a question regarding the graph regions. I have 4 square plots that I > want to put in the same figure. If we look at the plots individually, the > figures are square (including the margins around the plot itself). But when > I combine them the areas around the plots become rectangles. Below is an > example (I used colors so that it's easier to see what I'm trying to > explain). Any suggestions on how to make the final combined plot also a > square without wasting so much space to the left and to the right of the > plots? > Thanks! > Ana > > > sysuse auto, clear > scatter mpg weight, aspect(1) xsize(5) ysize(5) graphregion(color(erose)) > plotregion(margin(zero)) name(fig1, replace) > scatter mpg weight, aspect(1) xsize(5) ysize(5) graphregion(color(blue)) > plotregion(margin(zero)) name(fig2, replace) > graph combine fig1 fig2 fig2 fig1, saving(figcombo, replace) > > * > * 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/

**References**:**st: space between plots when using "graph combine"***From:*Maria Ana Vitorino <vitorino@wharton.upenn.edu>

- Prev by Date:
**Re: st: Regression Equation in ZINB regression** - Next by Date:
**Re: st: Regression Equation in ZINB regression** - Previous by thread:
**st: space between plots when using "graph combine"** - Next by thread:
**Re: st: space between plots when using "graph combine"** - Index(es):