Hi all, this is somewhat of a half-feature request,
> half-question. I just went through a rather unpleasant
> exercise in trying to get a line plot with about 8
> traces generated for black and white printing. As it
> turns out, mpl seems to only have 4 line styles ('-',
> '--', '-.', ':'), which isn't really a whole lot
> (compare this to gnuplot's extensive dashing support).
Are you aware of the "dashes" property, which allows you to set the
exact dash pattern you want. It's an arbitrary length sequence of
alternating ink-on, ink-off, in points
# 5 points on, 2 off, 10 on, 5 off)
plot(arange(20), '--', dashes=[5,2,10,5])
> Additionally, I'd like to suggest having a b/w mode,
> where mpl's auto-selection of different colors for
> successive line plots becomes a rotation of dashing
> modes. Gnuplot's EPS backend has exactly this feature,
This seems like a good idea -- if you define a nice sequence of dashes
you want to cycle through, I'll build the rest of the infrastructure
and make a figure property like iscolor.
JDH