How to output a figure from a function?
이전 댓글 표시
Is there a way to output a figure from a function?
I have:
figure(1);plot(x,y)
figure(2);plot(y,z)
Is it possible to create a function that, when called, displays these figures as figure 1 and figure 2?
Any help is appreciated. Thanks
답변 (1개)
Azzi Abdelmalek
2013년 3월 21일
function curv(x,y,z)
figure(1);plot(x,y)
figure(2);plot(y,z)
카테고리
도움말 센터 및 File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!