title: R : plot multiple chronicles separated on 3d plot
body: <p>I'm running some simulations and have a distribution p(a1) for every time step.
  What i'm looking for is a way to plot the p(a1) distributions (as continuous lines) for every time step.</p>
  
  <p>Basically something like this but without the edges connected :</p>
  
  <p><img src="https://i.stack.imgur.com/akatP.png"></p>
  
  <p>3D plotting in R has always thrown me off so if anyone has an idea on how to achieve this, feel free to suggest. You can use the following code to try out stuff.</p>
  
  <pre><code>a1 = rep(0, 10)
  t = 1:20
  pa1 = matrix(ncol=length(a1), nrow = length(t))
  for(i in t){pa1[i,]=a1+i}
  </code></pre>