title: Variable Frame-rate Animation in Matlab
body: <p>In matlab if I have a array, namely a matrix whose first column is time and other two are coordinates, and if I plot it:</p>
  
  <pre><code>ti=myarray(:,1);
  xi=myarray(:,2);
  yi=myarray(:,3);
  
  for i=1:length(ti)
     plot(xi(i),yi(i));hold on;
     Mov(i)=getframe;
  end
  </code></pre>
  
  <p>This records my movie uniformly. When I play</p>
  
  <pre><code>movie(Mov,1,20)
  </code></pre>
  
  <p>It assumes frames are equi-chronologically distributed.</p>
  
  <p>Can I make a plot so that movie plays at time specified by it?</p>
  
  <p>Note that <code>pause</code> if possible, might not be an option for me. System time is slow(<code>10ms</code> precision). And combining slow processing of matlab and low precision of system time will give undesirable results. Also note that my <code>fps</code> can go higher than <code>100</code>. But if this can be implemented, I welcome it.</p>