title: How to keep the subplot sizes unchanged after putting a colorbar
body: <p>Let us say we have a 1-by-2 subplot and we plot some graphics inside as follows:</p>
  
  <pre><code>subplot(1,2,1)
  surf(peaks(20))
  
  subplot(1,2,2)
  surf(peaks(20))
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/ZDp1r.png" alt="enter image description here"></p>
  
  <p>And then we want to put a colorbar:</p>
  
  <pre><code>colorbar
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/sIeeF.png" alt="enter image description here"></p>
  
  <p>I don't want the right figure squezzed as in the result. How can we put the colorbar out of the rightmost figure in a row of subplots and keep the sizes of them unchanged?</p>
  
  <p>Note: Actually, I need it for plotting images where the colorbar is common and I want to put it on the right. I used this toy example for simplicity.</p>