plot two matrices against each other

23 Ansichten (letzte 30 Tage)
savannah Roemer
savannah Roemer am 8 Nov. 2015
Kommentiert: savannah Roemer am 9 Nov. 2015
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

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 8 Nov. 2015
plot(xvalues, yvalues, 'ks', xvalues, yvalues2, 'ks')
  1 Kommentar
savannah Roemer
savannah Roemer am 9 Nov. 2015
That helps, Thank you! I just added 'k--s' and I think that'll work :)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by