I have data which I have to plot
X = [0,1,2,3,4,5] Y = [6,7,8,9,10,11,12,13,14,15]
X belongs to class1, so I would want them to be plotted green in color and Y belongs to class2, so I would want them to be plotted blue in color.
What I did was,
import pylab as pl
pl.plot(X,'go')
pl.plot(Y,'bo')
pl.show()
But this is plotting X against Y. All I want to display in my graph is just the points X and Y in green and blue colors respectively.
How can I accomplish this?