title: Using separate BaseValues / BaseLines for MATLAB bar and barh plots?
body: <p>Is it possible to plot more than one <code>bar</code> or <code>barh</code> on the same axes, using a different <code>BaseValue</code> for each?</p>
  
  <p>When I try to set the <code>BaseValue</code> property of the second bar graph, it changes the <code>BaseValue</code> for the first bar graph as well! See the example below.</p>
  
  <p>A solution using multiple axes is <a href="https://stackoverflow.com/questions/16380472/plot-many-horizontal-bar-plots-in-the-same-graph">here</a>, but can it be done without the creating additional axes? Specifically I'd like to set the <code>BaseValue</code> in relation to other data I'm plotting, so overlaying another axes isn't practical since I can't (or I don't know how to?) refer to the coordinates from the original axes. </p>
  
  <pre><code>subplot(1,3,1); 
  bar(1:10,'BaseValue',5,'FaceColor','b');
  hold on; plot([0 11],[5 5],'k-','LineWidth',2); 
           plot([0 11],[15 15],'k-','LineWidth',2); axis([0 11 0 21]);
  
  subplot(1,3,2); 
  bar(11:20,'BaseValue',15,'FaceColor','r');
  hold on; plot([0 11],[5 5],'k-','LineWidth',2); 
           plot([0 11],[15 15],'k-','LineWidth',2); axis([0 11 0 21]);
  
  subplot(1,3,3); 
  bar(1:10,'BaseValue',5,'FaceColor','b'); hold on;
  bar(11:20,'BaseValue',15,'FaceColor','r');
      plot([0 11],[5 5],'k-','LineWidth',2); 
      plot([0 11],[15 15],'k-','LineWidth',2);axis([0 11 0 21]);
  </code></pre>