title: Set colormap on scatter3 plot
body: <p>I am plotting a depth image (RGBD) as a scatter graph, using <code>scatter3(x,y,z)</code> in matlab.</p>
  
  <p>How can I set a colormap on the scatter3 plot where the color is dependent on the z-value?</p>
  
  <p>Thanks</p>