I am trying to create a 3D scatter plot, where each point is colored according to a fourth parameter (not corresponding to any of the values on the axes). To do this, I generated a list of colors, which I was going to map onto the set of points using the PlotStyle option. However, although I am correctly generating a list of colors (Which are different--I checked this!), all of my points are being assigned the same color.
I was hoping someone could help me out! I pasted my code below (I added it as an image so it would be easier to see the problem, but I can also paste the code if needed!).