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 colormap.
> 

Got it. I was having an error but it was because the example I was using 
as base tried to add a colorbar ... Obviously without a colormap that 
was impossible.

I still have to deal with the problem that plot gives back a list of 
Line2D instances while scatter gives back a PathCollection object but 
that's a different issue.

Thanks,

Armando

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to