title: MATLAB: How to add custom ticks and labels to an imagesc plot?
body: <p>I have made a matrix containing 13 different vectors with ~300K+ rows. I have visualized the matrix by transposing it and using the imagesc function to see the distribution of colors. All vectors have been resampled, processed and normalized between 0 &amp; 1 individually. </p>
  
  <p>The imagesc plot gives me this result (fig 1):
  <a href="https://i.stack.imgur.com/J6tZ2.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/J6tZ2.jpg" alt="Normal imagesc plot"></a></p>
  
  <p>But, when I use the axis functionality to add x &amp; y limits, I get this:</p>
  
  <p><a href="https://i.stack.imgur.com/56oFF.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/56oFF.jpg" alt="Solid colorbars"></a></p>
  
  <p>How do I maintain the imagesc plot while being able to add custom ticks and labels to the X &amp; y axis? The x axis represents time, while the y axis will get its own labels with sensor names. </p>