title: Cannot place an image just above a bar plot in matlab
body: <p>I'm trying to print an image above a bar plot in the same figure, manually changing their position using the set command with the OuterPosition option.</p>
  
  <p>This works only if the vertical coordinate of the image is at least 0.42, in fact if it is below this value then the image disappears.</p>
  
  <p>How can I place the image below 0.42?</p>
  
  <pre><code>subplot(2,1,1)
  imshow( imread('https://i.imgur.com/TVlQhpj.jpg') )
  set(gca, 'OuterPosition', [.3 .42 .4 .4]);
  subplot(2,1,2)
  bar(1:10)
  set(gca, 'OuterPosition', [.3 0 .35 .23]);
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/PxCrO.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PxCrO.gif" alt="enter image description here"></a></p>