plotg allows creating line plots with color gradients that are defined based on point indices (default) or a given set of values of the points.
Cite As
Siamak (2026). plotg (https://www.mathworks.com/matlabcentral/fileexchange/67385-plotg), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2017a
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.7.0.0 |
