--- MITgcm_contrib/enderton/Diagnostics/DiagPlot.m 2005/02/07 05:31:45 1.4 +++ MITgcm_contrib/enderton/Diagnostics/DiagPlot.m 2005/04/29 17:34:39 1.5 @@ -56,6 +56,7 @@ % Set panel settings to default values, override with optional % settings. + DiagPlotDefaults; ExpInfo = page{inrow}{incol}; for iarg = 14:2:length(ExpInfo) if ~ismember(ExpInfo{iarg},diagrunparam) @@ -94,6 +95,12 @@ subplot(nrow,ncol,isp); hold on; set(gca,'position',[xi,yi,dx,dy],'fontsize',fs_axis); + if Coast + fac = pi./180; + xax{inrow}{incol} = xax{inrow}{incol}.*fac; + yax{inrow}{incol} = yax{inrow}{incol}.*fac; + else, fac = 1; end + % (Re)set axes and color axis -- Accounts for things like a possible % colorbar, or trimming the axis in certain ways. % Apply desired colorbar, contour label, tick labels, box, grid, and