m_proj('miller','lon',[w e],'lat',[s n]);
m_pcolor(lonOce,latOce,sstGrad(:,:,nt).*1e2);
m_contourf(lonOce,latOce,sstGrad(:,:,nt).*1e2,(0:0.025:4),'edgeColor','none'); hold on;
m_contour(lonOce,latOce,sstGrad(:,:,nt).*1e2,(0:2:2),'edgeColor','k','lineWidth',1);
m_gshhs_f('patch','w','edgeColor',[.2 .2 .2],'linewidth',.5); hold on;
m_grid('linestyle','none','xtick',6,'ytick',4,'fontsize',16);
title([datestr(datenum(time(nt)),'mmmm yyyy')],'fontsize',16,'fontweight','b');
xlabel ('Longitude','fontsize',16);
ylabel ('Latitude','fontsize',16);
cb = colorbar ('eastoutside','fontsize',16);
xlabel(cb,'{\times} 10^{-2} ({\circ}C/km)','fontsize',16)
cmap = getPyPlot_cMap('RdYlBu_r', 32);
set(gcf, 'Position', get(0, 'Screensize'));
export_fig([outputFolder sprintf(['sstGradSS' datestr(datenum(time(nt,:)),'yyyymm')])], '-png', '-transparent');
Index in position 3 exceeds array bounds (must not exceed 109).
Error in upwDataProc (line 113)
m_pcolor(lonOce,latOce,sstGrad(:,:,nt).*1e2);