Vary color/gradient along the point/line with colored legend in matlab

5 views (last 30 days)
I would like to have a plot of points and line change color gradually, representing the another variable. I want to show the legend for that variable. I am attaching plot for example. thanks!
cheers- amit

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!