Plot with linestyles and markers

Plot lines with different line styles, line colors, and markers

You are now following this Submission

MATLAB plot function plots the different lines with different colours, but the same linestyle and no marker, which gives a poor visibility when printing in black and white (typical publication).
This function modifies the linestyles and markers as well.
Can handle different drawing functions such as plot, semilogx, semilogy, ...

Cite As

Sébastien Martin (2026). Plot with linestyles and markers (https://www.mathworks.com/matlabcentral/fileexchange/52091-plot-with-linestyles-and-markers), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

Added a thumbnail picture