How to make heat map with 4 parameters (category) on X -axis.

7 views (last 30 days)
Hi,
I wanted to make a heat map, where I am 4 paramters in X-axis (b, ff20,ff30, dmax), whose value ranges from 0 to 1, where as Y -axis represent 0,1 represent two catchments value. I am attcahing excel sheet to it. Please somebody can help me with the code. It will be hugh helpful.
I think it will be become like 2X4 matrix.
Thanks

Accepted Answer

Cris LaPierre
Cris LaPierre on 24 Aug 2021
Edited: Cris LaPierre on 24 Aug 2021
Heat map creates a visual of a matrix where rows are Y and columns are X.
For example consider this 3x2 matrix:
data = rand(3,2)
data = 3×2
0.1933 0.3723 0.2614 0.8531 0.5166 0.5251
heatmap(data)

More Answers (0)

Categories

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!