필터 지우기
필터 지우기

How do I keep all plots open?

조회 수: 16 (최근 30일)
Hao Sun
Hao Sun 2020년 3월 23일
댓글: Sindar 2020년 3월 24일
How do I keep plots open (even when function or code finishes) and have new plots just create a new plot (not on same axis or anything)
Also how to save multiple plots? e.g. have a function that everytime is run automatically saves the plot to some folder or something
  댓글 수: 2
Walter Roberson
Walter Roberson 2020년 3월 23일
Use
figure
and (probably) your new plots will not overwrite the old one.
Sindar
Sindar 2020년 3월 24일
Also, "print" saves figures
"print(filename,formattype) saves the current figure to a file using the specified file format, such as print('BarPlot','-dpng'). If the file name does not include an extension, then print appends the appropriate one."

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Graphics Performance에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by