Ah, scatter_demo2.p y.
Should've just kept on truckin'
User Profile
Collapse
-
How to plot data [x,y,z] with z changing the color.
Hi,
I'm trying to plot data using matplotlib. x is time y is another value and z ranges from 1 to 32. I want to use z to change the colour of the points specified by x and y.
I've tried colormaps and tried specifying the colour by using
matplotlib.pypl ot.plot(X,Y,'.' ,color=Z/32)
but I'm confused and stuck.
Any ideas?
No activity results to display
Show More
Leave a comment: