which works, but after zooming it does not work anymore.
Using the ActionPostCallBack function should sort out the problem, but I am unsure as to how to use it correctly.
It contains:
function postzoomfcn
yData = (get(gca, 'YTick'));
set(gca, 'YTickLabel', yData );