I'm upgrading from 2013a to the 2015a and I'm finding the handling of graphics on multiple axes is much slower.
For example, take the following simple code:
figure;ax(1)=subplot(211);imagesc(peaks(1000));ax(2)=subplot(212);imagesc(peaks(1000));linkaxes(ax,'x');tic;for i=1:1000 xlim(xlim*.999); drawnow;endtoc
This takes ~10 seconds to run on 2013a and ~30 seconds to run on 2015a, even when turning of graphics smoothing and switching to painters.
I've run profiler and it says most of the time is being taken up LinkProp.processPostUpdate().
Any suggestions of what to do (other than not using linkaxes)?
Best Answer