MATLAB: Mirrored axes labels with imagesc

alphadataimagesc

Hi,
when I execute the following code
a = rand(5,5)
a(3,3) = NaN
figure
imagesc(a,'AlphaData',double(~isnan(a)))
I get mirrored axes labels and also the data cursor info is mirrored. Does anybody know why and how to avoid it?
I use MATLAB R2010b on Win XP.

Best Answer

The MathWorks support says this is a known problem of some ATI graphics devices. Updating the driver for the graphic device didn't help in my case. It is possible to switch the OpenGL renderer by
opengl('software')
This sovles my problem.
Thanks for your help!