How can I draw a polar dendrogram over UIAxes in AppDesigner?

2 views (last 30 days)
Mohammad Shahbazy
Mohammad Shahbazy on 22 Aug 2021
Hi All, I am trying to draw a polar dendrogram by the following code in the app designer but it does not work because it seems that UIAxes doesn't support polar dendrogram. I tried to set a panel as handle but it showed error. This code works with the "dendrogram" function. Can you please have a look on my code?
X = rand(1000,4);
Z = linkage(X,'ward');
estclustnum = 6; % estimated number of clusters
color = Z(end-estclustnum+2,3)-eps;
app.UIFigure.HandleVisibility = 'on';
set(0, 'CurrentFigure', app.UIFigure);
app.UIFigure.HandleVisibility = 'off';

Answers (0)




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!