title: 3d plot in R, better visible surface
body: <p>With my <a href="http://uploadeasy.net/upload/gldz8.rar" rel="nofollow noreferrer">data</a> I created with the following code:</p>
  <pre><code>library(rugarch)
  library(fGarch)
  
  fd &lt;- as.data.frame(modelfit, which = 'density')
  
  color &lt;- rgb(85, 141, 85, maxColorValue=255)
  
  x &lt;- seq(-0.2, 0.2, length=100)
  y &lt;-c(1:2318)
  
  
  f &lt;- function(s, t) {
   dged(s,mean=fd[t,'Mu'],sd=fd[t,'Sigma'],nu=fd[t,'Shape'])
  
  }
  
  z &lt;- outer(x, y, f)
  
  persp(x, y, z, theta=50, phi=25, expand=0.75, col=color,
        ticktype=&quot;detailed&quot;, xlab=&quot;&quot;, ylab=&quot;time&quot;, zlab=&quot;density&quot;)
  </code></pre>
  <p>the following 3d plot:</p>
  <p><img src="https://i.stack.imgur.com/FBtet.png" alt="3d" /></p>
  <p>As you can see the surface looks messy.</p>
  <p>So my first question:</p>
  <p>How can I get a better visible surface?</p>
  <p>And my second question:</p>
  <p>How can I get the real dates on my axis? Currently I use c(1:2318), but in my original data
  I can see the dates in the rownames via command <code>fd</code>. So how can I get those dates on my axis?</p>
  <p>Edit: Also: How can I omitt the black lines on the grid in my plot? So that there is just a green surface? Wouldn't that already look better?</p>