Hello,
I am trying to plot a line assigning a user specified color to each
marker. The idea is that if I have n points x, n ppoints y, I was
expecting to be able to provide n markeredgecolors or n markerfacecolors
as a (npoints, 4) array of RGBA values. However that does not seem to be
possibl
If you want each marker to be a different color you have to use scatter.
You can pass scatter a sequence of colors (see
http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.scatter) so you
don't have to go through making a custom colormap.
Tom
On Thu Nov 13 2014 at 9:01:42 AM "V. Armando S
On 13.11.2014 18:04, Thomas Caswell wrote:
> If you want each marker to be a different color you have to use
> scatter. You can pass scatter a sequence of colors (see
> http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.scatter
> [4]) so you don't have to go through making a custom colorm