title: How to scale vertical axis in increasing order from Bottom to Top in Matlab?
body: <pre><code>clear all;close all;clc
  x =linspace(pi,2*pi,20)
  y =linspace(0,pi,20)
  
  C = [1 2];
  imagesc(x,y,C)
  colorbar
  </code></pre>
  <p><a href="https://i.stack.imgur.com/3lPm6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3lPm6.png" alt="enter image description here" /></a></p>
  <p>The vertical axis is not increasing from bottom to top.
  May I know how to fix this? I have tried using <code>flipr()</code> so that vertical axis increase from bottom to top.</p>