I have fixed the problem, it was the transpose :
h1 = pcolor(m',klatz',SST(1:161,:,i)');
But when I try to add:
%%Grid;
grey=[0.9 0.9 0.9];
m_coast('patch',grey,'edgecolor','none') %for surface limit
m_coast('linewidth',1,'color','b'); %for line limits
m_grid
my data disappears completely and leaves me with a half white and half green figure of Meditareaneen's coastline but my data has disappeared completely. And is it not problem of ordering my code. And any idea why I always have error messages when I try to use packages such as m_coast? By the way , I have already reset my path just in case using
rehash toolboxcache;