command for a certain graph

1 view (last 30 days)
John
John on 4 Jul 2012
Hi,
Would anybody know what the command is to generate a graph that looks like this
I've forgotten what it is and can't seem to find it!
Thanks
John
  1 Comment
Luffy
Luffy on 4 Jul 2012
Does bar3 help you

Sign in to comment.

Answers (2)

Wayne King
Wayne King on 4 Jul 2012
Hi John, See the help for bar3
For example:
bar3(peaks(5))
  1 Comment
John
John on 5 Jul 2012
I am pretty sure that there is another graphing function, which bis the data into an m x n matrix first. I cannot remember it name but I've definitely seen a page on this site with the function and examples. It begins with a "T".
Any ideas?

Sign in to comment.


Star Strider
Star Strider on 5 Jul 2012
Are you referring to the ‘Talagrand diagram’? If so, I just searched the TMW website for it and came up empty for code and examples. You'll likely have to write your own code but it should be easy to use MATLAB's histogram and bar functions with your results.
What paper was that graph taken from? The authors may have used MATLAB and if so might be willing to share their code with you. Did they already publish it as part of their SOM?

Tags

Community Treasure Hunt

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

Start Hunting!