Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Kieran McCaul" <Kieran.McCaul@uwa.edu.au> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | RE: st: RE: Different graph height with graph, by() |
Date | Thu, 16 Sep 2010 10:34:16 +0800 |
... This is strange because imargin() is supposed to control the margins around the individual graphs that are being combined, whereas xsize() and ysize() are affecting the overall size of the combined graph. -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Friedrich Huebler Sent: Thursday, 16 September 2010 8:48 AM To: statalist@hsphsun2.harvard.edu Subject: Re: st: RE: Different graph height with graph, by() 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/ * * 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/