MATLAB: Can’t use imagesc with large log scale.

dataspaceimagescloglogscaleMATLAB

I'm trying to visualize data with imagesc. My data has a log-scale on one axis but matlab fails when I change 'YScale' to 'log' for Y range higher than 10^3, it creates a blank figure and sends the warning :
"Warning: Error updating Image
DataSpace or ColorSpace transform method failed"
Here, a minimal example of the bug :
% This one is working
f = logspace(1, 3, 150);
t = 1:400;
z = randn(150, 400);
imagesc(t, f, z);
set(gca, 'YScale', 'log')
% This one diplays a blank figure and sends the Warning :
% Warning: Error updating Image.
% DataSpace or ColorSpace transform method failed
f = logspace(1, 4, 150);
t = 1:400;
z = randn(150, 400);
imagesc(t, f, z);
set(gca, 'YScale', 'log')
Am I doing it wrong or is it a bug from imagesc ? Notice that it is working with pcolor but pcolor is clearly slower to display my data.