Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Plot from two curves

1 Ansicht (letzte 30 Tage)
Mepe
Mepe am 18 Mär. 2019
Geschlossen: MATLAB Answer Bot am 20 Aug. 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!

Antworten (1)

Star Strider
Star Strider am 18 Mär. 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