On Feb 19, 2008 9:13 AM, Alan G Isaac <[EMAIL PROTECTED]> wrote: > Of course you can do something like this:: > > from itertools import cycle > > mystyles = ['r+-', 'b.--', 'go-.'] #etc > ax1styles = cycle( mystyles )
You can also cycle through the list matplotlib uses import matplotlib.lines as lines # filled markers fmarkers = lines.Line2D.filled_markers # all markers markers = lines.Line2D.markers.keys() but this is not ideal, since lines.Line2D.markers is a dictionary and the keys will come back un-ordered. Noone has every asked for auto-marker cycling before, but it might be a good idea and wouldn't be too hard to add. JDH ------------------------------------------------------------------------- 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