title: Julia: How to create subplots with different sizes using PyPlot?
body: <p>I want to create a figure that contains multiple plots. However I want to be able to make each plot have a different size. For example, I want the first subplot to be approximately twice as wide as the second subplot. I was hoping to do something like this:</p>
  
  <pre><code>using PyPlot
  
  a = rand(500,900)
  b = rand(500,400)  # notice how 'a' is 900 in width and 'b' is 400, i.e. 'a' is approximately twice as wide as 'b'
  
  figure(1)
  subplot(2,5,1:2) ; imshow(a)
  subplot(2,5,3) ; imshow(b)
  # and so on...
  </code></pre>
  
  <p>But this doesn't seem to work. Does anyone know of a method to allow me to adjust the size of each subplot?</p>