title: Single Colorbar for Vertical Subplots
body: <p>I would like to make the following MATLAB plot have a single colorbar that extends along both subplots.</p>
  
  <p><a href="https://i.stack.imgur.com/vbTPf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vbTPf.png" alt="enter image description here"></a></p>
  
  <p>Something like this (done manually with the figure editor):</p>
  
  <p><a href="https://i.stack.imgur.com/mTlyy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mTlyy.png" alt="enter image description here"></a></p>
  
  <p><strong>Note:</strong> This is different from the question asked <a href="https://stackoverflow.com/questions/39950229/matlab-two-subplots-single-color-scale-and-colorbar">here</a>.</p>
  
  <p>Thanks!</p>