Writing code to sketch a figure between two vectors values
2 ビュー (過去 30 日間)
古いコメントを表示
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
採用された回答
Star Strider
2015 年 4 月 27 日
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')
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Interactive Control and Callbacks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!