varycolor

Provides maximum color variation for lines on plots.

You are now following this Submission

Editor's Note: This file was selected as MATLAB Central Pick of the Week

I was unhappy with the current implementation of the color schemes. This provides a way for a program to dynamicly scale the number of different colors on plots, and it ensures there won't be any color overlap.

Cite As

Daniel Helmick (2026). varycolor (https://uk.mathworks.com/matlabcentral/fileexchange/21050-varycolor), 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