how to create color bar arrow

How to make the data appear like the picture below, change the color with the increase

Answers (1)

Walter Roberson
Walter Roberson on 14 Oct 2022
Potentially you could use quiver or (Mapping Toolbox) quiverm . The functions return a vector of line objects; you could set the LineWidth properties and also the Color properties of the resulting objects.

Categories

Tags

Asked:

on 14 Oct 2022

Answered:

on 14 Oct 2022

Community Treasure Hunt

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

Start Hunting!