Line styles, colors, and markers in complex plots in Matlab

For creating figures for print, lines and markers should be distinguishable by both, color and style. Matlab offers a variety of styles and colors, but the plot command when given a matrix as y input, only changes colors. You can spend a lot of time checking what looks good and what not. Here I present a script which can help to generate plots where each curve is distinguishable by marker, color, and line style.

This script is for generating plots with many curves, where each curve has its own marker, color, and line style.

Something like the following does the job:


You might also be interested in my tutorial of how to produce first quality figures with matlab. I also wrote articles about exporting data from matlab and how to export videos from matlab.
[ Read more... ]