--- MITgcm_contrib/enderton/Diagnostics/DiagPlotMakePlot.m 2005/09/12 20:13:21 1.6 +++ MITgcm_contrib/enderton/Diagnostics/DiagPlotMakePlot.m 2005/09/12 21:11:21 1.7 @@ -40,12 +40,13 @@ if ii == 1, cint = cint(cint>0); lst = '-'; end if ii == 2, cint = cint(cint<0); lst = '--'; end if ii == 3, cint = [0,0]; lst = '-'; lw = 2.*lw; end - [cs,h] = contour(xax{inrow}{incol},yax{inrow}{incol},... - plotdata,cint,['k',lst]); - set(h,'linewidth',lw); - if UseConLabel - clabel(cs,h,'fontsize',fs_clabel,'rotation',0); - end + try [cs,h] = contour(xax{inrow}{incol},yax{inrow}{incol},... + plotdata,cint,['k',lst]); + set(h,'linewidth',lw); + if UseConLabel + clabel(cs,h,'fontsize',fs_clabel,'rotation',0); + end + catch, end end else [cs,h] = contour(xax{inrow}{incol},yax{inrow}{incol},plotdata,contint);