Plot colormapped lines and map values onto lines - plotcmap
Plots a colormapped 2-D or 3-D line that maps the values of another variable onto the colormap on the line. LineSpec available as in >>plot.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
Xiaowei He (2026). Plot colormapped lines and map values onto lines - plotcmap (https://in.mathworks.com/matlabcentral/fileexchange/110530-plot-colormapped-lines-and-map-values-onto-lines-plotcmap), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.2.0 (3.7 KB)
MATLAB Release Compatibility
- Compatible with R2014b and later releases
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.2.0 | - Added an output argument that displays the colorbar and returns the colorbar handle. E.g., [~, cb] = plotcmap(__). |
||
| 1.1.1 | - Fixed a bug that causes errors when plotting on target axes.
|
||
| 1.1.0 | - Added support for using MATLAB predefined colormaps.
|
||
| 1.0.0 |