How do I append a plots after another?

13 次查看(过去 30 天)
I'm currently reading data from multiple binary data files within a directory. My goal is to concatenate all the data into one plot. How do I accomplish this without combining the datasets?
  2 个评论
Michael Lam
Michael Lam 2018-1-16
Combining the dataset has crashed matlab several time already.
Michael Lam
Michael Lam 2018-1-16
I've only found ways to overlap the plots using hold on and hold off, which don't accomplish my goal.

请先登录,再进行评论。

采纳的回答

Michael Lam
Michael Lam 2018-1-16
Found my answer: Set the x values of the following dataset to start where the current ends.
hold on
plot([1:5],data1);
plot([6:10],data2);
hold off

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by