Hi again, I got problems with scatterd labels when using datasets with empty classes. The problem was corrected with a few lines in the scatterd script. Just in case you are interested in handling this situations I added this lines
(line 170)
if (isa(a,’dataset’)) & (~isempty(getlablist(a)))
[m,k,c] = getsize(a);
% start of addition
cs_a = classsizes(a);
classes_present = cs_a > 0;
% end of addition
and use classes_present in line 283
if (plotlegend),
% start of modification
[ht, hl] = legend(lhandle(:),lablist(classes_present,:));
% end of modification
hl = hl(:)’;
Regards,
Mariano.

