title: Handle to Matlab patch gets deleted automatically, how to create array of figure handles
body: <pre><code>figure;
  
  for i=1:num
      h{i} = fill(c{i}(:,1), c{i}(:,2), 'b');
  end
  
  axis([0 500 0 700]);
  daspect([1 1 1]);
  hold on;
  </code></pre>
  
  <p><code>c</code> is just a cell of 2D arrays that store x,y of the vertices of the polygons. I am trying to plot multiple polygons and store handles to them so that i can modify the polygons later.
  But after <code>h{1}</code> stores the patch to the first polygon in second iteration <code>i=2</code>, <code>h{1}</code> gets deleted.</p>
  
  <p>How can i store the various patches?</p>