I use a loop to generate different images that I then collect into a figure with each image as a subplot. I do this for several different iterations of the loop and set the background for each figure to be a certain color, say red as in the example below - which works fine except the last iteration still has a default gray color - how do I change that?
set(gcf,'Color','red')
Also... kind of related: within the loop how do you make a figure that is separate from the others? So for example
figure(i)
subplot etc.
How would I then make a totally different figure for each iteration if that makes sense?