Linear 2D Plot with Rainbow Color

Version 1.0.0.0 (1.33 KB) by Kun Liu
This function plots a line colored like a rainbow.
3.1K Downloads
Updated Wed, 05 Jul 2006 18:08:35 +0000

View License

This function plots a line colored like a rainbow. The line is defined by x versus y pairs, which is the same as a regular 2-D plot. This program is inspired by Jonathan Zarge's post at http://groups.google.com/group/comp.soft-sys.matlab/browse_frm/thread/70b82349e102d792?tvc=1&q=matlab+2d+plot+rainbow&hl=en

Cite As

Kun Liu (2024). Linear 2D Plot with Rainbow Color (https://www.mathworks.com/matlabcentral/fileexchange/11611-linear-2d-plot-with-rainbow-color), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: cline

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