Four video gamers play computer games during the morning, afternoon, and evening.
A matrix shows how many hours each gamer played during each part of the day.
Use an alluvial flow chart to graphically study the parts of the day when gamers like to play, and how the gamers distribute their play time.
The function was tested using R2008a. A comment showcases how automatic scalar and vector expansions (introduced in R2016b) can greatly simplify expressions.
Alexander Carmeli (2023). Alluvial flow diagram (https://www.mathworks.com/matlabcentral/fileexchange/66746-alluvial-flow-diagram), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: Sankey Plot / Alluvial Flow Diagram
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!