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: RE: Different graph height with graph, by()


From   Friedrich Huebler <fhuebler@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: Different graph height with graph, by()
Date   Wed, 15 Sep 2010 20:47:32 -0400

Thank you, Kieran and Scott, with your help I could create the graph I
was looking for. Both of your solutions work. The last piece of the
puzzle was the unwanted extra margin between the individual graphs but
I solved that problem. It seems that imargin() has no effect when
xsize() is smaller than ysize().

* Example 1: imargin() has no effect
graph combine gr1 gr2 gr3 gr4 gr5, ///
cols(1) xsize(4) ysize(6) imargin(0 0 0 0)

* Example 2: imargin() has an effect
graph combine gr1 gr2 gr3 gr4 gr5, ///
cols(1) xsize(6) ysize(6) imargin(0 0 0 0)

Friedrich
*
*   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