Version (1.69 KB) by DS
Plot a vector with colors defined by intensity values and a colormap.
Updated 15 Feb 2010

View License

COLOR_LINE is a basic wrapper function which applies the matlab LINE command, plotting a line for each {x, y} data pair with a color set by the corresponding intensity value. The function returns a column vector of handles to LINE objects.

Cite As

DS (2024). color_line (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP2
Compatible with any release
Platform Compatibility
Windows macOS Linux
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