Hello:

I want to plot a variable number of lines but I would like the colors to 
cycle through a set pattern defined by me.

I use this when working with line collections.

colors = [colorConverter.to_rgba(c) for c in
[('k','y','m','c','b','g','r')]

line = collections.LineCollection( ...
line.set_color(colors)

and it works great. But I need legends for each line so I can't use 
collections. I would like to choose the colors and loop over a list if 
the lines exceed the colors while using plot. Any ideas?


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to