Hi, I have this issue, schematically: import numpy as np import matplotlib.pyplot as plt
x = np.linspace(0.0, a, b) for i in range(d): y1 = f1(x, p1_i, p2_i) y2 = f2(x, p1_i, p2_i) plt.scatter(x, y1, c=color[i]) plt.plot(x, y2, '-', c=color[i] my question: how can I setup color to be d colors from some colormap (like cm.copper or cm.jet), they should be somewhat "equally" spaced… maybe the loop is not ideal, but I don't know a better way (yet)… Thanks for your help, Cheers, Claus ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users