drawSankey

drawSankey is a MatLab function that draws single-direction Sankey diagrams
6K download
Aggiornato 3 feb 2010

Visualizza la licenza

drawSankey is a matlab function that draws single-direction Sankey diagrams (i.e no feedback loops), however, multiple inputs can be specified.The syntax is the following:

drawSankey(inputs, losses, unit, labels, sep)

inputs: a vector containing the flow inputs, the first of which will be considered the main input and drawn centrally, other inputs will be shown below this.

losses: a vector containing all of the losses from the system, which will be displayed along the top of the Sankey diagram

unit: a string indicating the unit in which the flows are expressed

labels: a cell list of the labels for the different flows, starting with the labels for the inputs, then the losses and finally the output

sep: an (optional) list of position for separating lines, placed after the loss corresponding to the indexes provided

Current Version: 02.11.2009
Developed by: James SPELLING, KTH-EGI-EKV

Distributed under Creative Commons Attribution-NonCommerical-Share Alike (by-nc-sa) Licensees may copy, distribute, display, and perform the work and make derivative works based on it only for noncommercial purposes. Credit must be given to the developer when using, distributing or modifying this work and derivative works must be distributed under identical license conditions

Cita come

James Spelling (2024). drawSankey (https://www.mathworks.com/matlabcentral/fileexchange/26573-drawsankey), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2008b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su 2-D and 3-D Plots in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.1.0.0

Modification of function description

1.0.0.0