Ah all right, thanks for the tips :) I somehow missed that setting while browsing matplotlibrc
Cheers On Sat, Jul 21, 2012 at 9:33 PM, Felix Patzelt wrote: > You want this? > > ---- > > import matplotlib as mpl > mpl.rcParams['axes.color_cycle'] = ['#0000FF', '#00FF00', '#FF0000', > '#00FFFF', 'FF00FF', 'FFFF00', '000000'] > > # test it > from pylab import * > import matplotlib.cm as cm > > x = linspace(0, 2*pi, num=100, endpoint=True) > > for i in range(1, 10): > plot(x, sin(x + pi*i/10.0)) > > show() > > ---- > > I still think, that this is not a sensible default choice. Btw you can also > easily generate your color scheme from colormaps: > > mpl.rcParams['axes.color_cycle'] = [cm.winter(i/10.) for i in range(10)]. > > There also was an example in the Mailing list for how to do this on a > per-plot-basis: https://gist.github.com/3150091 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users