Function returning multiple plots
显示 更早的评论
i have a function that takes input from a folder containing mat files and returns a single plot everytime its called. So in all i have 4 plots at the end. My question is how can i get all these plots under a single window ??
would be glad if anyone can help me !
回答(1 个)
Turlough Hughes
2019-10-28
Just use the hold on statement as follows:
myfunction(input1);
hold on; myfunction(input2);
myfunction(input3);
myfunction(input4);
类别
在 帮助中心 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!