title: How to hold a plot when using plot3 in matlab?
body: <p>This works as I expected:</p>
  
  <pre><code>    for i=1:100
        hold on;
        plot(i,i^2);
        drawnow;
      end
  </code></pre>
  
  <p>Ploting the points as they come in the same figure.</p>
  
  <p>This on the other hand, doesn't:</p>
  
  <pre><code>    for i=1:100
        hold on;
        plot3(i,i^2,sqrt(i));
        drawnow;
      end;
  </code></pre>
  
  <p>Since it does not show a 3d plot of the points, it only shows the projection of them in the xy plane. Somehow the <code>hold on</code>statement messes up with plot3.</p>
  
  <p>How can I obtain results that are analogous to the 2d case when using <code>plot</code>, in the 3d case, when I have points in several 3d locations? </p>
  
  <p>I've tried to make this question concise, if you believe I haven't explained it well enough for a satisfactory answer please say so in the comments.</p>