I am plotting "perfcurve" but class 2 is shown as a green circle in the legend. How can fix it? Thanks for the help.
for m = 1:nClasses [FPR,TPR,~,AUC,OOP] = perfcurve(Y,score(:,m),m,'XCrit','fpr'); Legend{m} = strcat(['Class ',num2str(m),' AUC ',num2str(AUC)]); plot(FPR,TPR,OOP(1),OOP(2),'go','LineWidth',1,'MarkerSize',6) xlabel('FPR','FontSize',10,'FontWeight','Bold'); ylabel('TPR','FontSize',10,'FontWeight','Bold'); grid on; hold on;endlegend(Legend,'FontSize',8,'FontWeight','Bold','Location','Southeast')hold off;
Best Answer