Function returning multiple plots
조회 수: 6 (최근 30일)
이전 댓글 표시
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 !
댓글 수: 0
답변 (1개)
Turlough Hughes
2019년 10월 28일
Just use the hold on statement as follows:
myfunction(input1);
hold on; myfunction(input2);
myfunction(input3);
myfunction(input4);
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!