how can plot this figure?
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
Hello, please I want to plot a figure like this, please help me , how can do it? any implementation and thanks in advance

Réponses (1)
Star Strider
le 7 Août 2015
Use the hold function to put multiple plots on the same set of axes:
numberclass=[50,100,250,500,1000];
Accuracy1=[94,90,88,79,77];
Accuracy2=[90,80,79,75,71];
Accuracy3=[98,90,85,70,60];
figure(1)
plot(numberclass, Accuracy1)
hold on
plot(numberclass, Accuracy2)
plot(numberclass, Accuracy3)
hold off
grid
xlabel('Number of selected classes')
ylabel('Classification Accuracy')
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!