How can I save multiple plots in a specified folder?
Show older comments
I have drawn major and minor axis over several binary images using a for loop. Now I want to save all these figures in a specified folder and want to off their visibility to the screen .
1 Comment
Answers (1)
monika shivhare
on 4 Jun 2018
To off visibility of figures on screen
set(0,'DefaultFigureVisible','off')
To save all figures in specified folder,
path='D:\figures\';
saveas(figure(i),fullfile(path,['myPlot' num2str(i) '.jpeg']));
save to a folder to save your files ion specified folder.
1 Comment
Harr
on 9 Apr 2021
Thanmks Monika! I had similar problem.
Categories
Find more on Images in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!