You can play with the subplot command to make the first graph span multiple subplot spots. Here is a simple example where the sin(x) curve occupies the first 2 subplots:
clear all
clc
x = 1:10;
figure
subplot(4,1,1:2) % That's where you tell the plot to occupy the spots from 1 to 2 or whatever you want.
plot(sin(x));
title('Sin x');
subplot(4,1,3),
plot(cos(x));
title('Cos x');
subplot(4,1,4);
plot(tan(x));
title('Tan x');
which outputs this:
So I guess you could add an if statement in you for-loop which does the same for your first graph.