MATLAB: How to increase figure window height

figure windowheightincreasesubplot

Hello everyone,
I am trying to make a subplot array of (5,2,1:10)in five rows and two columns that I exactly need. While making the plot I found all of my subplots are squeezed but still I have enough space at the top as well as at the bottom. When I take the print of pdf it seems like the figure used only half of the page in the middle. Does anybody have any idea how can I increase the height of the figure window as well as the height of each subplot. I used the following the command for each subplot only changing the position.
subplot(5,2,1);
plot(x1,TGMdaily(:,1),'ro-','MarkerSize',2)
set(gca,'xlim',[0 24],'xtick',[0:2:24],...
'xticklabel',[])
ylabel('TGM (ng/m^3)','FontSize',10);
Thank you very much in advance.

Best Answer

plot(t,y)
%the max you can do is
set(gca,'position',[0 0 1 1])