Global Index (short | long) | Local contents | Local Index (short | long)
dcv(xax, yax, dat);
dcv(data); This function pcolors the NaN's of data
This function is called by | |
---|---|
function dcv(xax, yax, dat); data = repmat(NaN, size(dat)); data(find(isnan(dat))) = 1; dx = mean(diff(xax)); xax2 = xax - dx/2; dy = mean(diff(yax)); yax2 = yax - dy/2; hh = surface(xax2, yax2, ones(size(data)), data); %colormap(0.6*[1 1 1]); shading flat box on hold off;