f = figure();
bFig(1:10) = axes(f);
for k = 1:numel(bFig)
bFig(k) = subplot(5,2,k);
linkaxes([bFig(1*i), bFig(2*i)], 'x');
Output: 5x2 subplot i.e. 10 figures, but the linkaxes works as asynchronously; not row-wise; something strange linking there too which I do not understand.
I would like to understand how to set it up correctly, and if there is anything wrong in declaring `linkaxes` before plotting the graphs to them.