Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

command for a certain graph

Asked by John on 4 Jul 2012


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!



1 Comment

Luffy on 4 Jul 2012
 Does bar3 help you



No products are associated with this question.

2 Answers

Answer by Wayne King on 4 Jul 2012

Hi John, See the help for bar3

For example:


1 Comment

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?

Wayne King
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?


Star Strider

Contact us