Documentation of plot_variance_explained


Global Index (short | long) | Local contents | Local Index (short | long)


Help text

temp = getnc('temp', lims, lev, tim);

Cross-Reference Information

This script calls

Listing of script plot_variance_explained


clear
cd /home/disk/hayes2/dvimont/csiro/matlab_data/Heat_Content
load LP10_DETREND_L1-7_corr.mat
lims = [-0.1 360 -90 90];
lev = 1;
tim = 101:550;
nfrm = -2:2;
temp = getheat(4:7, tim, lims);
[lat, lon] = getll('temp', lims);

[b, a] = butter(6, 2/10);
temp = filtfilt(b, a, temp);
temp = detrend(temp);

[ntim, nlat, nlon] = size(temp);

[treg, tcoef] = regress_eof(temp, pcs, nfrm);

default_global;  FRAME = lims;

for i = 1:length(nfrm);
figure(i); figure_orient(1);
sp(1);
  gcont(1e-9*treg(i,:,:), [-.5:.02:.5]);
  title(['Lag ' num2str(nfrm(i))]);
  dc2(treg(i,:,:));
sp(2);
  gcont(tcoef(i,:,:).^2, [0:.1:1]);
  title(['Lag ' num2str(nfrm(i))]);
  dc2(tcoef(i,:,:).^2);
end