MATLAB Answers

John

command for a certain graph

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

  1 Comment

Luffy
on 4 Jul 2012
 Does bar3 help you

Tags

Products

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:

    bar3(peaks(5))

  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?


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?

  0 Comments


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today