Documentation of dcv

Global Index (all files) (short | long) | Local Index (files in subdir) (short | long)

Function Synopsis

dcv(xax, yax, dat);

Help text


  This function pcolors the NaN's of data

Listing of function dcv

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;