title: How to overlay multiple plots on the same graph in Stata?
body: <p>I am using the <a href="https://stats.stackexchange.com/a/19759">following code</a> for drawing a plot on a graph in Stata. I want to draw multiple plots on the same graph. Is that possible? Can anyone kindly tell me what to do?</p>
  
  <p>What I want to do is to have multiple plots of the following types in the same graph.</p>
  
  <p><strong>Further clarification:</strong> There will be multiple means and CIs for each value of X, i.e. one mean and CI for each simulation model. All the means and CIs for one simulation model will be connected together.</p>
  
  <pre><code>    clear 
      input str2 varname mean upper lower
      x1 30 25  35
      x2 50 20  80
      x3 60 50  70
      x4 60 55  65
      x5 65 55  75
      end
  
      encode varname, gen(varname1)   
      scatter mean varname1, xlabel(, valuelabel) || rcap upper lower varname1 || line upper mean lower varname1
  </code></pre>