function vmovie(ncfile,prop,idx,crange,movie_name); % function VMOVIE (ncfile,prop,xyidx,[crange]); % % ncfile = the NetCDF file to view. % prop = the property to view. % xyidx = Bounds of cross-section to extract [xmin xmax ymin ymax] % where either xmin=xmax or ymin=ymax % crange = the caxis limits ([cmin cmax]). Defaults to min/max values in % the slice. frame_type='capture'; %frame_type='print'; map = jet(61); %map (11:10:end,:) = 0.8; % robs funky grey pseudo-contour lines colormap(map) nc = netcdf(ncfile); t = nc{'ocean_time'}(:)./86400; if (idx(1)~=idx(2) & idx(3)~=idx(4)) disp(['ERROR: idx set incorrectly. (xmin=xmax or ymin=ymax)']); return; end if (idx(1)==idx(2)) if (idx(3)