Hi I have a problem in matlab I want to create a figure containing 10 subplots. in 2X5 orientation. But the problem is that I want to reduce the deadspace area between them
Of course it can be done with a single loop (using a cell array for your variables, and one for the plotting functions ) but for simplicity i would just lump it as two loops .
labels = {'(a)' , '(n)' , '(etc)' , 'asdf','asddf'}
jay=1
for aye =1:5
subplot('Position',[0.025+0.19*(aye-1) 0.51-0.48*(jay-1) 0.19 0.48]);
...
h=xlabel(labelsabc{aye},'FontSize',12);
....
end