title: Add Color To 3D Scatter Plot
body: <p>I have a list of x,y,z points and a list of values assigned to each 3D point.
  Now the question is, how can I color each point in a 3D scatter plot according to the list of values ? </p>
  
  <p>The colors should be typical engineering -> RGB -> lowest blue to highest red</p>
  
  <p>Thanks a lot</p>
  
  <p>Basically I am searching for an equivalent to: scatter3(X,Y,Z,S,C)
  See here: <a href="https://ch.mathworks.com/help/matlab/ref/scatter3.html" rel="nofollow noreferrer">https://ch.mathworks.com/help/matlab/ref/scatter3.html</a></p>
  
  <p>I tried:</p>
  
  <pre><code>col = [i/max(values)*255 for i in values]
  
  
  ax.scatter(sequence_containing_x_vals, sequence_containing_y_vals, sequence_containing_z_vals,c=col, marker='o')
  pyplot.show()
  </code></pre>
  
  <p>..but I don't get the desired result</p>