>>>>> "Fernando" == Fernando Perez <[EMAIL PROTECTED]> writes:
Fernando> Hi all, this is somewhat of a half-feature request, Fernando> half-question. I just went through a rather unpleasant Fernando> exercise in trying to get a line plot with about 8 Fernando> traces generated for black and white printing. As it Fernando> turns out, mpl seems to only have 4 line styles ('-', Fernando> '--', '-.', ':'), which isn't really a whole lot Fernando> (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]) Fernando> Additionally, I'd like to suggest having a b/w mode, Fernando> where mpl's auto-selection of different colors for Fernando> successive line plots becomes a rotation of dashing Fernando> 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 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users