How to plot a tornado chart in Matlab?

32 views (last 30 days)
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?

Accepted Answer

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

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!