Alluvial flow diagram

Plot flows from sources to sinks and relationships between categories.

You are now following this Submission

Editor's Note: This file was selected as MATLAB Central Pick of the Week

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.

Cite As

Alexander Carmeli (2026). Alluvial flow diagram (https://nl.mathworks.com/matlabcentral/fileexchange/66746-alluvial-flow-diagram), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Sankey Plot / Alluvial Flow Diagram

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

Graphics added.