title: Using errorbar() with semilogy() in MATLAB?
body: <p>I'd like to plot data <code>x</code> &amp; <code>y</code> with errorbars, <code>ebar</code>, and its fit, <code>yfitted</code>, on a semilog plot. This doesn't seem to work:</p>
  
  <pre><code>figure;
  hold on;
  errorbar(x,y,ebar);
  semilogy(x,yfitted);
  </code></pre>
  
  <p>Instead of semilog plot I get a linear plot. What should I be doing differently?</p>