Function to plot a sankey flow chart with any number of layers and categories.
Based on the contribution of @RomanKuster based in turn on the contribution from @RanranWang, improves them by:
- Accepting matrix as well as tables with categorical values as input data.
- Customizable colors (both colormaps or customized matrix).
- Category labels, layer labels, percentages and legend are switchable.
See demo for data examples.
引用格式
Carlos Borau (2024). Sankey flow chart (https://www.mathworks.com/matlabcentral/fileexchange/101516-sankey-flow-chart), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2021b
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!