Risposto
doubt with check boxes
uicontrol('Style','checkbox') % doc uicontrol

quasi 13 anni fa | 0

| accettato

Risposto
sorting Matrix in two coum matrix
reshape([M(:,1:2:end) M(:,2:2:end)],[],2) % M is your Matrix

quasi 13 anni fa | 1

| accettato

Risposto
Simplest way to add a legend to the groups of a scatter plot
Without gscatter fcn: [~, I] = unique(C); p = findobj(gca,'Type','Patch'); legend(p(I),'X','Y','Z')

quasi 13 anni fa | 1