plot two matrices against each other

조회 수: 20 (최근 30일)
savannah Roemer
savannah Roemer 2015년 11월 8일
댓글: savannah Roemer 2015년 11월 9일
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일
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개)

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by