Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Represent a radial dendrogram in MATLAB

Tags:

matlab

I want to represent a dendrogram in radial lines with arcs.

So far,I have tried

t2=linkage(squareform(t1),'single')
dendrogram(t2,0,'colorthreshold',0.5)

and got the output as http://i48.tinypic.com/1zpgnyq.jpg

Could you please let me know how to represent the same as a radial dendrogram in MATLAB, as in the image below.

http://i45.tinypic.com/ebaag2.png

like image 582
user1214208 Avatar asked Jul 17 '26 14:07

user1214208


2 Answers

You could try my Polar Dendrogram function from MATLAB Central: http://www.mathworks.co.uk/matlabcentral/fileexchange/21983-draw-a-polar-dendrogram

Hope it works for you!

like image 200
Sam Roberts Avatar answered Jul 20 '26 08:07

Sam Roberts


Matlab does not have a built in function for making a radial dendrogram. A quick search turned up a page about Hierarchical Random Graphs with code that may work for you.

like image 40
shoelzer Avatar answered Jul 20 '26 08:07

shoelzer



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!