Colour Map On Scatter Plot
I have three columns in a csv file which reads like this: X,Y, Cosine efficiency 989.565,670.17,0.868684456 660.941,-1502.48,0.597998523 685.683,-1491.35,0.600137189 -1454.88,-316.
Solution 1:
plt.scatter(x_vals, y_vals, c = z_vals, cmap = 'rainbow')
You're going to want to play with adding s= and choosing an appropriate size for the points. There's also a beautiful colormap set called cmocean that you may want to consider installing
Post a Comment for "Colour Map On Scatter Plot"