By default, imagesc applies some weird colormap that's almost never what you want. Then you have to apply the correct colormap, like gray or whatever. That's why I avoid it and use imshow instead, which applies no colormap - it's just the normal gray scale colormap for a gray scale image.