How to make such a colorbar for bivariate analysis as shown in the attached figure below?
Show older comments
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
on 1 Dec 2023
0 votes
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 Color and Styling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!