What is your question? We cannot run the code due to the missing variables and we cannot see what you observe. You talk of subplots in a loop, but the posted code does not contain a loop.
Please post a piece of code, which reproduces the problem.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!