title: Density plot of a matrix
body: <p>I have a <code>100x200</code> matrix and I would like to show this matrix as a density plot. Here is a <code>8x10</code> sample.</p>
  
  <pre><code>X = [104 122 138 159 149 167 184 164 190 158; ...
       54  42  55  55  63  75  72  73  66  76; ...
       15  22  28  21  23  28  32  47  32  40; ...
       18  12  20  22  28  17  30  17  22  18; ...
       10  7   14  10  14  11  14  20  16  10; ...
       5   6   3   3   6   12  6   2   8   9; ...
       4   8   9   2   5   3   3   12  7   7; ...
       6   6   2   3   10  1   9   8   11  8]
  </code></pre>
  
  <p>I have tried to use functions like <code>bar3</code>, <code>surf</code>, <code>hist</code> and so on but they don't have the end result I am after.</p>
  
  <p>I would also like to represent the y axis on the new successful plot to be on a log axis. So similar to having <code>semilogy(x,y,'rx')</code> for example.</p>
  
  <p>Are there any other methods I could use?</p>
  
  <p><a href="https://i.stack.imgur.com/HHeSj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HHeSj.png" alt="enter image description here"></a></p>