title: Make a 3D rendered plot of time-series
body: <p>I have a set of 3D coordinates (below - just for a single point, in 3D space):</p>
  
  <pre><code>x &lt;- c(-521.531433, -521.511658, -521.515259, -521.518127, -521.563416, -521.558044, -521.571228, -521.607178, -521.631165, -521.659973)
  y &lt;- c(154.499557, 154.479568, 154.438705, 154.398682, 154.580688, 154.365189, 154.3564, 154.559189, 154.341309, 154.344223)
  z &lt;- c(864.379272, 864.354675, 864.365479, 864.363831, 864.495667, 864.35498, 864.358582, 864.50415, 864.35553, 864.359863)
  xyz &lt;- data.frame(x,y,z)
  </code></pre>
  
  <p>I need to make a time-series plot of this point with a 3D rendering (so I can rotate the plot, etc.). The plot will visualize a trajectory of the point above in time (for example in the form of solid line). I used <a href="http://cran.r-project.org/web/packages/rgl/index.html" rel="nofollow noreferrer">'rgl' package</a> with <a href="http://www.stat.ucl.ac.be/ISdidactique/Rhelp/library/R.basic/html/plot3d.html" rel="nofollow noreferrer">plot3d</a> method, but I can't make it to plot time-series (below, just plot a single point from first frame in time-series):</p>
  
  <pre><code>require(rgl)    
  plot3d(xyz[1,1],xyz[1,2],xyz[1,3],axes=F,xlab="",ylab="",zlab="") 
  </code></pre>
  
  <p>I found <a href="https://stackoverflow.com/questions/6432996/making-a-3d-surface-from-time-series-data-in-r">this post</a>, but it doesn't really deal with a real-time rendered 3D plots. I would appreciate any suggestions. Thank you.</p>