📅  最后修改于: 2022-03-11 15:01:04.229000             🧑  作者: Mango
function displaySequence(X,Y)
clrOrder = get(gca,'ColorOrder');
classNames = categories(removecats(Y));
grps = findgroups(Y);
gscatter(1:length(X),X,grps,clrOrder(1:3,:))
legend(classNames)
xlabel('Time (samples)')
ylabel('')
end