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