Filter löschen
Filter löschen

How to export figure to a file

4 Ansichten (letzte 30 Tage)
James
James am 11 Apr. 2014
Beantwortet: Azzi Abdelmalek am 11 Apr. 2014
Hi,
I am running a script and at the end I am outputing a figure with a few graphs on it. Is there any way, in the script, I can get it to automatically save it as a picture (jpeg or whatever) to a specific file on my computer?
Thanks

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 11 Apr. 2014
h=plot(x,y)
saveas(h,'FileName.jpg')

Weitere Antworten (0)

Kategorien

Mehr zu Printing and Saving finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by