Sankey flow chart
Version 1.0.1 (5,37 KB) von
Carlos Borau
Function to plot a sankey flow chart with any number of layers and categories.
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.
Zitieren als
Carlos Borau (2025). Sankey flow chart (https://de.mathworks.com/matlabcentral/fileexchange/101516-sankey-flow-chart), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2021b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Quellenangaben
Inspiriert von: Sankey Diagram, Sankey Plot / Alluvial Flow Diagram
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.1 | demo added |
||
| 1.0.0 |
