Is it possible to layout this HTML table + customized dendrogram using MATLAB's publish command? -
i put more publication-worthy (and more produced) version of diagram i've hacked below:
basically, it's 2 part illustration html table on left (showing different cluster assignments varying parameters) , modified dengrogram plot on right.
i'm guessing it's apparent snapshot i'm trying add plot… set of horizontal, stacked bars show how different parameters grouped observations different clusters. used brackets cluster numbers when drawing these hand, underlines right observation numbers acceptable.
i realize there 2 parts question: how two-up layout when 1 of panels html instead of figure, , how modify plot. [if 1 part gets answered here, can ask other in separate question.]
you can label plot using line
, text
. need set clipping
property off
in order lines show outside of axes. here's example:
data = [1,3,4,5; 2,6,7,8; 9,3,7,4;3,8,5,2]; tree = linkage(data,'average'); figure() dendrogram(tree) set(gca,'position',[0.13, 0.3,0.775, 0.65]) h1 = line([1,1],[4,4.8],'color','k'); h2 = line([1,3],[4,4],'color','k'); h3 = line([3,3],[4,4.8],'color','k'); set(h1,'clipping','off') set(h2,'clipping','off') set(h3,'clipping','off') ht = text(1.7,3.9,'label');
Comments
Post a Comment