title: How to get vertical lines in a 3D scatter plot in matlab?
body: <p>I have three matrices x, y, z which are plotted via scatter3 in matlab. However I also need vertical lines dropping from every point in the graph for better visualization. </p>
  
  <p>Using matlab 2017a, implemented 3D scatter plot in matlab.</p>
  
  <pre><code>enter code here
  clc;
  figure
  x = [0,0,0,0,0,10,10,10,10,10];
  y = [0,10,20,30,40,-10,0,10,20,30];
  z = [46,52,51,59,53,85,56,87,86,88];
  scatter3(x, y, z, 30, 'filled')
  </code></pre>