Grouped column headings for a heatmap

8 views (last 30 days)
Is there any way to create a heatmap (or any plot)with grouped headings? In excel you would use merge cells. Please see the picture.

Accepted Answer

Ayush Gupta
Ayush Gupta on 1 Sep 2020
There is a customizable heat map present in File Exchange, there is an option for Axes & ticks where the necessary changes can be made and grouped together for the effective result. The documentation to see how to implement this and a few examples can be accessed here.

More Answers (0)


Find more on Data Distribution Plots 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!