plot two matrices against each other

25 vues (au cours des 30 derniers jours)
savannah Roemer
savannah Roemer le 8 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

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by