Subplotting by using MATLAB GUI
조회 수: 4 (최근 30일)
이전 댓글 표시
Hi everyone,
I want to use plot and subplot functions just like in command window. I mean, i want to see my subplot output as a new figure not in GUI screen.
Thanks to everybody, have a nice day.
댓글 수: 0
채택된 답변
Star Strider
2015년 5월 24일
I don’t have your code, but if you want a plot in a new figure window, precede the plot call with a figure call:
figure(1)
subplot(2,1,1)
plot( ...)
subplot(2,1,2)
plot
The numbers in the figure call are not absolutely necessary, but since MATLAB will put all subsequent plots in the existing figure window if you do not create a new figure window each time, it helps to keep track of them.
댓글 수: 0
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Subplots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!