title: Plot matrix with custom bins
body: <p>I have a rfm matrix of the following form with recency score on x axis and frequency+monetary score on y-axis</p>
  
  <pre><code>      1     2     3     4     5
   1   68    172   600   400   119
   2   600   300   100   90     9
   3   100   200   1277  100  1014
   4   550   168   422   900   900
   5   1345  450   400   225   67
  </code></pre>
  
  <p>I am trying to recreate an plot/image similar to this</p>
  
  <p><a href="https://i.stack.imgur.com/TQs2r.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TQs2r.png" alt="enter image description here"></a></p>
  
  <p>from <a href="https://www.putler.com/rfm-analysis/" rel="nofollow noreferrer">this article</a> using image and image2d with no success. How can I go about re-creating such an image?</p>
  
  <p>Edit:Changed the numbers of the matrix to correspond to the numbers on the image</p>