combine 2 plot with different length

1 view (last 30 days)
I have 2 plot with deffrent length.. How I can combine to to gather?

Accepted Answer

dpb
dpb on 5 Apr 2021
plot(x1,y1)
hold on
plot(x2,y2)
or
plot(x1,y1,x2,y2)

More Answers (0)

Categories

Find more on Line Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!