First off, thanks for matplotlib. It really is amazing.
I can't seem to figure out an acceptable sequence of dashes per the
documentation:
'dashes: sequence of on/off ink in points'
This is what I'm trying:
mydashes = ['- ', '--', '- ', '--', '- ']
lines = plot(*triplets)
for i in range(len(lines)):
setp(lines[i], dashes=mydashes[i])
I'm getting errors like:
ValueError: invalid literal for float(): -
or a message about even numbers in the dash sequence being required when I
don't use even-length strings.
I really need about 5-10 different dash sequences to lines in a publication
and the defaults are not quite enough.
Thanks,
John
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users