Filter löschen
Filter löschen

How do I keep all plots open?

16 Ansichten (letzte 30 Tage)
Hao Sun
Hao Sun am 23 Mär. 2020
Kommentiert: Sindar am 24 Mär. 2020
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 Kommentare
Walter Roberson
Walter Roberson am 23 Mär. 2020
Use
figure
and (probably) your new plots will not overwrite the old one.
Sindar
Sindar am 24 Mär. 2020
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."

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Graphics Performance finden Sie in Help Center und File Exchange

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by