Multiple plot line colors
Version 1.0.0.0 (545 Bytes) by
Igal
Extend default "recycle every 6 colors" plot behavior to N different colors
By default MATLAB "recycles" every 6 plot line colors. Replace default "recycle every 6 lines" behavior of MATLAB graphics functions (e.g. plot) by N different colors usin this simple script.
Cite As
Igal (2026). Multiple plot line colors (https://uk.mathworks.com/matlabcentral/fileexchange/49170-multiple-plot-line-colors), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2014a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots >
Find more on Line Plots in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
