Plot from two curves

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!

回答 (1 件)

Star Strider
Star Strider 2019 年 3 月 18 日

0 投票

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)

この質問は閉じられています。

質問済み:

2019 年 3 月 18 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by