Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Plot from two curves

1 vue (au cours des 30 derniers jours)
Mepe
Mepe le 18 Mar 2019
Clôturé : MATLAB Answer Bot le 20 Août 2021
Given are two interpolation curves from different measurements with different numbers of measuring points (Example: A=67points, B=71points).
How do I best get this together in one plot?
Thanks!

Réponses (1)

Star Strider
Star Strider le 18 Mar 2019
Use the hold (link) function:
figure
plot(A)
hold on
plot(B)
hold off
if your ‘points’ are (x,y) pairs, an alternative is to do it in one line:
figure
plot(Ax, Ay, Bx, By)

Community Treasure Hunt

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

Start Hunting!

Translated by