フィルターのクリア

How to draw heat map with 4 variable (category) in x-axis.

23 ビュー (過去 30 日間)
shagun chaudhary
shagun chaudhary 2021 年 8 月 24 日
回答済み: Anshika Chourasia 2021 年 10 月 18 日
Hi,
I wanted to draw heat map. I have four variable or parameter (b,ff20,ff30,dmax) on X -axis and they represent value for two different event (0,1) on y-axis. Please let me know how i can this be done in one graph. I have attached excel file along with it.
I will be extremely grateful if some could provide code for this.
Thanks!

回答 (1 件)

Anshika Chourasia
Anshika Chourasia 2021 年 10 月 18 日
Hi Shagun,
One possible workaround could be to convert the table into matrix and then create a heatmap of the matrix.
Please refer the following documentation link for creating heatmap using matrix data: Create heatmap chart - MATLAB heatmap (mathworks.com).
I hope this helps you!

カテゴリ

Help Center および File ExchangeData Distribution Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by