Writing code to sketch a figure between two vectors values
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Ali Noori
il 27 Apr 2015
Commentato: Star Strider
il 27 Apr 2015
Hi I'd like to write code to obtain a figure such as (attached Figure) from the following: X axis [1-10] Y axis [0-100] QS1= [50 55 56 52 54 50 60 70 71 65] QS2= [55 57 58 55 55 55 63 73 75 70]
cheers
Risposta accettata
Star Strider
il 27 Apr 2015
Done:
QS1= [50 55 56 52 54 50 60 70 71 65];
QS2= [55 57 58 55 55 55 63 73 75 70];
x = 1:10;
figure(1)
plot(x, QS1, 'ok', 'MarkerFaceColor','k')
hold on
plot(x, QS2, 'or', 'MarkerFaceColor','r', 'MarkerSize',3)
hold off
axis([0 10.5 0 105])
legend('QS1', 'QS2', 'Location','Ne')
title('Impact Factor')
xlabel('\bfN\rm')
text(-1.1, 60, '\bfQS\rm')
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!