title: How can I align the y-axes of combined graphs?
body: <p>I am trying to combine multiple graphs in Stata using the command <code>graph combine</code>. The individual graphs are produced from the <em>community-contributed</em> command <code>ciplot</code>.</p>
  
  <p>Below is a reproducible example:</p>
  
  <pre><code>sysuse auto 
  ciplot foreign, by(rep78) hor ///
      graphregion(color(white)) ///
      rcap(lcolor(black) msiz(zero)) ///
      mc(black) ms(O) ///
      note("") xtitle( ) ///
      fysize(62.5) saving(g1, replace ) nodraw
  
  ciplot foreign, by(headroom) hor ///
      graphregion(color(white)) ///
      rcap(lcolor(black) msiz(zero)) ///
      mc(black) ms(O) ///
      note("") xtitle( ) ///
      fysize(100) saving(g2, replace ) nodraw
  
  gr combine g1.gph ///
      g2.gph ///
      , col(1) xcom graphregion(color(white)) ///
      title("Proportion of patients across studied variables")
  </code></pre>
  
  <p>All works as expected and I get a graph like the one below:</p>
  
  <p><img src="https://i.stack.imgur.com/u6bYu.png" alt="enter image description here"></p>
  
  <p>The problem is that the <code>y-axes</code> of the graphs start in slightly different positions, due to the different width of the labels of individual ticks. The problem gets even worse when larger discrepancies between these labels exist.</p>
  
  <p>Is there a way to force the <code>y-axes</code> to start from the same point in the graph region?</p>