From: Steve S. <el...@gm...> - 2005-07-29 07:15:53
|
Hi Well if you do lineplots # plot some lines x = [1,2,3] for i in range(...): plot(x) mpl changes the color of each line which doesn't happen in the case of marker plots. cheers, steve N. Volbers wrote: > Hello Steve, > > Steve Schmerler schrieb: > >> Is there another way to cycle through colors when repeating marker plots >> except >> >> c = 'bgrcmykw' >> for i in range(...): >> plot(..., '+-' + c[i]) > > > You can of course specify the line properties via the keyword arguments > 'linestyle', 'marker' and in this case 'color'. > Since the kind of cycling you showed above is a good and working way, > maybe you can explain in more detail what you are looking for. > > Best regards, > > Niklas Volbers. > > |