Scatter and line plots with gradient colour on y-axis in MATLAB

a function in MATLAB to generate a plot with gradient colour for scaling
95 Downloads
Updated 11 Feb 2018

View License

This package allows users to plot time series with gradient colour of interest on the y-axis direction. The function is very intuitive to use, and the final plot can be modified with common MATLAB commands, e.g., xlabel, title, subplot, etc. Users can create scatter or line plot based on their requirements. Also, it is possible to define a global or local maximum/minimum for colour intensity calculations. The package comes with a tutorial to depict different capabilities of the package through multiple examples.

Cite As

Seyyed Ali Pourmousavi Kani (2024). Scatter and line plots with gradient colour on y-axis in MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/66014-scatter-and-line-plots-with-gradient-colour-on-y-axis-in-matlab), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on 2-D and 3-D 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!

GradientPlotMATLAB-master-6f39ecfae4897f3a8bd2ae19f4d55167687af89e/

Version Published Release Notes
1.0.0.0