figure('color','b')
image(val)
colormap('hot') 
colorbar
axis equal
axis off          % Remove axis ticks and numbers
axis image        % Set aspect ratio to obtain square pixels

