Info

此问题已关闭。 请重新打开它进行编辑或回答。

Plot from two curves

2 次查看(过去 30 天)
Mepe
Mepe 2019-3-18
关闭: MATLAB Answer Bot 2021-8-20
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
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