function having plot command

조회 수: 1 (최근 30일)
ali mujtaba
ali mujtaba 2014년 12월 10일
댓글: ali mujtaba 2014년 12월 10일
I have written a function X in which i want to plot some data. in my main .m file I am calling this function 5 time with different input. I want to know that how can I get 5 plot figures according to the provided input. thanks in advance

채택된 답변

Adam
Adam 2014년 12월 10일
Just call
figure
ahead of each call.
Personally I always specify the exact axes I want to plot on in a plot instruction but for simplicity, just creating a new figure before each should work.

추가 답변 (0개)

카테고리

Help CenterFile 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!

Translated by