Matplotlib color scales that are suitable for printing

Is there an existing color map that can be easily applied to make a line plot visible on a grayscale medium (e.g. a paper printed in black and white) by modifying the way the line is drawn (e.g. black full line, black dashed line, gray full line, etc.)?

The gray color scale is a good start but it doesn't cut it: when I have more than 4 series on the same plot it's hard to distinguish once printed, and also it colors one series as white (making it invisible unless I change the background to something else).

Upvotes: 2

Views: 251

Answers (1)

FLab
FLab

Reputation: 7496

You can vary the linestyles as shown here and use different markers as shown here. Finally, I would suggest you look at cyclers to loop over different colors, linestyles and markers.

enter image description here

enter image description here

Upvotes: 2

Related Questions