How to plot a tornado chart in Matlab?

31 visualizzazioni (ultimi 30 giorni)
Tien Tran
Tien Tran il 26 Giu 2016
Modificato: Tien Tran il 27 Giu 2016
I want to perform a sensitive analysis for my model, therefore I need to plot a tornado chart. Can you help me to plot a chart like the following image on Matlab?

Risposta accettata

Star Strider
Star Strider il 26 Giu 2016
Use the barh function with the 'BaseValue' name-value pair argument.
  2 Commenti
Tien Tran
Tien Tran il 26 Giu 2016
Hi Star I have tried this function, but it is not symmetrical as I expected. Can you give me a code sample?
Star Strider
Star Strider il 26 Giu 2016
See if the 'stacked' option instead of the default 'grouped' option gives you the result you want.
See the documentation for barh, bar and ‘Bar Series Properties’ (see the link on the page) for all the available options.

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by