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!

Answers (1)

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.

Asked:

on 18 Mar 2019

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!