Numbering Plots
이전 댓글 표시
Hi,
I have a script that generates a list of plots and outputs it as a pdf.
Now sometimes I have to reorder the plots which means having to re-numbering the figure numbers.
*_Example:
figure(1)
Plot(.......
%%%%%%%%%%%%%%%%%%%%%%
figure(2)
Plot(.......
%%%%%%%%%%%%%%%%%%%%%%
figure(3)
Plot(....... _*
Is there any way round this? using a loop such as
i = i + 1
and then use figure(i) instead?
I can't seem to get it to work
Thanks
댓글 수: 4
Jan
2012년 4월 3일
The loop sounds fine. What is the problem with it?
Aadil
2012년 4월 3일
Walter Roberson
2012년 4월 3일
You could start with
i = 1
so that it doesn't start from the last number.
Aadil
2012년 4월 3일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!