MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Asked by John
on 4 Jul 2012

Hi,

Would anybody know what the command is to generate a graph that looks like this

http://ars.sciencedirect.com/content/image/1-s2.0-S0378775309019703-gr3.jpg

I've forgotten what it is and can't seem to find it!

Thanks

John

*No products are associated with this question.*

Answer by Wayne King
on 4 Jul 2012

Hi John, See the help for bar3

For example:

bar3(peaks(5))

Answer by 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?

## 1 Comment

## Luffy (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/42708#comment_87689