title: How to put multiple matshow() results in one figure?
body: <p>I'm trying to make a figure like this. A matrix of plots, each is a visualization of a numerical matrix.</p>
  
  <p><a href="https://i.stack.imgur.com/UH35P.png" rel="noreferrer"><img src="https://i.stack.imgur.com/UH35P.png" alt="enter image description here"></a></p>
  
  <p>I thought code should look something like the following:</p>
  
  <p>using PyPlot</p>
  
  <pre><code>figure()
  for i in 1:100
      subplot(10, 10, i)
      matshow(rand(10, 10))
  end
  </code></pre>
  
  <p>But the plots would pop out in new windows independently, instead of in separate parts of the same figure. What did I do wrong?</p>
  
  <p>Thanks in advance for your time!</p>