Plot with linestyles and markers

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


Updated 14 Jul 2015

View License

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 (2023). Plot with linestyles and markers (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Added a thumbnail picture