title: How can I display a 2D binary matrix as a black & white plot?
body: <p>I have a 2D binary matrix that I want to display as a black and white plot. For example, let's say I have a 4-by-4 matrix as follows:</p>
  
  <pre><code>1 1 0 1
  0 0 1 0
  1 1 0 1
  1 0 0 0
  </code></pre>
  
  <p>How can this be plotted as a black and white matrix? Some of my input binary matrices are of size 100-by-9, so I would ideally need a solution that generalizes to different sized matrices.</p>