title: plot3d() - How to change z axis surface color to heat map color
body: <p><img src="https://i.stack.imgur.com/nP8nq.png" alt="Graph Plot"></p>
  
  <p>In the above image the surface colored in z axis (like heat map). I am using plot3d()</p>
  
  <pre><code>plot3d(data$x, data$y, data$z, name = 'Plotly3D graph', type = 'l', axes=F)
  </code></pre>
  
  <p>I have to repeat the same color as of in the image. By using above code I can get the 3D square but I dont know where to set the color of z axis as same as the image. Please help me in plot3D. If full code is needed will post if required. </p>
  
  <p>Here is sample code:</p>
  
  <pre><code>data1 &lt;- read.csv(file.choose(),1)
  
  # retrieve age column from csv file 
  var1 &lt;- data1$age
  
  z1 &lt;- rep(1, times=length(var1))
  
  plot3d(var1, length(var1), z1, type="l", xaxt='n', yaxt='n', xlab="Jitter in 
  ns", ylab="Counts", size=0.05,expand=0.75, col=color[zcol],
  ticktype="detailed", zlab="")
  </code></pre>