Plot with linestyles and markers

Plot lines with different line styles, line colors, and markers
463 Downloads
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 (2024). Plot with linestyles and markers (https://www.mathworks.com/matlabcentral/fileexchange/52091-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
Categories
Find more on Line Plots in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

Added a thumbnail picture