How to plot separate scripts into one plot
2 ビュー (過去 30 日間)
古いコメントを表示
If I have two Matlab scripts, for example "apple.m" and "ball.m" that plot with the same axes (just different data), etc. how can I plot them on the same plot? Thank you.
0 件のコメント
回答 (1 件)
Walter Roberson
2018 年 7 月 12 日
Much of the time, you can just run the first one, then command
hold on
and then run the second one.
This will not always work; when it does not work, then typically it is necessary to modify the code.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!