I have added and xlabel to a clustergram using addXlabel, but it disappears after "print to Figure". If I add a title using addTitle, this works fine If I add ylabel it is not visible at all Matlab version R 2013b
code: TM = clustergram(TMDS,'linkage','ward',… 'ColumnPdist','seuclidean','Cluster','col',… 'Dendrogram','default','RowLabels',labelsRow,'ColumnLabels',labelsCol,… 'Colormap', redbluecmap); cm = struct('GroupNumber',{8 9},'Annotation',{'A' 'B'},'Color',{'r','b'}); TM.RowGroupMarker = cm; addXLabel(TM, 'days')
>> size(TMDS)
ans =
11 23
>> class(TMDS)
ans =
double
Best Answer