How to make such a colorbar for bivariate analysis as shown in the attached figure below?

2 views (last 30 days)
I wanted to make a colorbar for my maps like the one shown below. How to make such a colorbar on MATLAB?

Answers (1)

vidyesh
vidyesh on 1 Dec 2023
Hello Abhishek,
I understand that you want to create a 2D colorbar for bivariate analysis as shown in the figure.
Refer to the below thread that discusses making a 2D colorbar, which can help you achieve your desired result. https://www.mathworks.com/matlabcentral/answers/588934-how-can-i-make-a-2d-color-map .
Within this thread, you will find comprehensive information, which includes detailed insights and an illustrative example.
Hope this answer helps.

Categories

Find more on Colormaps in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!