The code is created largely based on the alluvial diagram (https://nl.mathworks.com/matlabcentral/fileexchange/66746-alluvial-flow-diagram). It improves the alluvial diagram in two respects:
1. It can plot a Sankey diagram with multiple blocks
2. For each block, the left and right ends do not have to be balanced.
Text labels have to be added separately.
Citar como
Ranran Wang (2026). Sankey Diagram (https://la.mathworks.com/matlabcentral/fileexchange/75813-sankey-diagram), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2016b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Agradecimientos
Inspiración para: Sankey Plot / Alluvial Flow Diagram, Sankey flow chart
Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Sankey
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.0.0 |
