How to plot a tornado chart in Matlab?

19 Ansichten (letzte 30 Tage)
Tien Tran
Tien Tran am 26 Jun. 2016
Bearbeitet: Tien Tran am 27 Jun. 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?

Akzeptierte Antwort

Star Strider
Star Strider am 26 Jun. 2016
Use the barh function with the 'BaseValue' name-value pair argument.
  2 Kommentare
Tien Tran
Tien Tran am 26 Jun. 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 am 26 Jun. 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by