If i create a figure with a certain name:
hFig = figure('Name','ALL CAMERAS', 'Resize','on', 'Position',[600 600 400 800],'numbertitle','off');
How can I call it at different time to add subplots to it. I have tried
figure(hFig); montageImg = cell2mat(allImgs); J = imadjust(montageImg,stretchlim(montageImg),[0 1]); subplot(3,2,1); imshow(J);
I will vary the last digit in subplot to plot to each of the 6 positions allocated for. But currently, it just opens up a new figure called "ALL CAMERAS" for each subplot I do rather than plot all to the same figure?
Is it also possible to delete all open figures except the one called ALL CAMERAS?
Thanks
Best Answer