plot two matrices against each other

I'm trying to plot these values
xvalues=[64.5 65 67.5 69.3 71.2 73.1 75.3 78 81.7 84.4 87.7 89.3 91.2 93.5 96.4 100];
yvalues=[1 0.9790 0.958 0.915 0.870 0.825 0.779 0.729 0.665 0.579 0.517 0.418 0.365 0.304 0.23 0.134 0];
yvalues2=[1 0.95 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.15 0.1 0.08 0.06 0.04 0.02 0];
So that it looks like

 採用された回答

Walter Roberson
Walter Roberson 2015 年 11 月 8 日

0 投票

plot(xvalues, yvalues, 'ks', xvalues, yvalues2, 'ks')

1 件のコメント

savannah Roemer
savannah Roemer 2015 年 11 月 9 日
That helps, Thank you! I just added 'k--s' and I think that'll work :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDiscrete Data Plots についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by