How to make histogram with 4 variables?

8 views (last 30 days)
Megha
Megha on 13 Aug 2021
Answered: Bhuvanyu Dogra on 16 Aug 2021
How to make histogram with 4 variables? For example,
X = 1:19
Y = 1:7
Z = randi(19,7)
colorbar = rand([400, 800], 19, 7) ;
Can anyone please suggest?

Answers (1)

Bhuvanyu Dogra
Bhuvanyu Dogra on 16 Aug 2021
It is my understanding that you want to create a multi-variable histogram.
The following MATLAB Answer resolves a similar query:

Community Treasure Hunt

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

Start Hunting!