Re: [Matplotlib-users] make plot() cycle through line style instead of colour

2011-02-15 Thread Ryan May
On Tue, Feb 15, 2011 at 9:24 AM, Sebastian Busch wrote: > Dear list, > > if I do a > > plot([1,2],[1,2]) > plot([1,2],[1,3]) > plot([1,2],[1,4]) > > I will get three lines. All have linestyle='-', the colour is changed > automatically: blue, green, red, ... > > Can I change this behaviour to: All

[Matplotlib-users] make plot() cycle through line style instead of colour

2011-02-15 Thread Sebastian Busch
Dear list, if I do a plot([1,2],[1,2]) plot([1,2],[1,3]) plot([1,2],[1,4]) I will get three lines. All have linestyle='-', the colour is changed automatically: blue, green, red, ... Can I change this behaviour to: All have the colour black, and the linestyle is changed /automatically/ '-', '--'