Bookmark and Share

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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: RE: Different graph height with graph, by()


From   "Kieran McCaul" <[email protected]>
To   <[email protected]>
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: [email protected]
[mailto:[email protected]] On Behalf Of Friedrich
Huebler
Sent: Thursday, 16 September 2010 8:48 AM
To: [email protected]
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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index