I think the two -combine- statements is the way to go. You can use either -fxsize(#)- or -graphregion(margin(l+# r+#))- to shrink the width of graph1 (in the command that produces it, not the -combine-). You may also need to use -iscale()- in one or both of the -combine-s to get the labels etc looking the same.
David
-----Original Message-----
From: Falko Juessen [mailto:F.Juessen@wiso.uni-dortmund.de]
Sent: 18 February 2005 10:14
To: statalist@hsphsun2.harvard.edu
Subject: st: graph combine: Center graph
Hello all,
I use the command - graph combine - to combine 3 graphs in one figure. I
would like to put the first graph in the first line, and the two other
ones in the second line. This works fine with the following command:
- graph combine graph1.gph graph2.gph graph3.gph, rows(2) holes(2) -
Is it possible to put graph1.gph (the single one in the first line) in the
CENTER of the first line instead of leaving one (complete) position blank?
I tried the following: First combine graph2 and graph3 (the two graphs for
the second (unproblematic) line and save this graph as "2graphs.gph").
Then I combined the two "lines" for the final graph:
- graph combine graph1.gph 2graphs.gph, rows(2).
The only problem with this is that the graph in the first line (graph1)
now spans the whole figure.
Does anyone have an idea how to center the graph in the first line without
altering the size of the graph (i.e. the width of the graph in my case)?
Thanks in advance,
Falko.
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/