Info

This question is closed. Reopen it to edit or answer.

Plot from two curves

2 views (last 30 days)
Mepe
Mepe on 18 Mar 2019
Closed: MATLAB Answer Bot on 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!

Answers (1)

Star Strider
Star Strider on 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)

This question is closed.

Community Treasure Hunt

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

Start Hunting!