Global Index (short | long) | Local contents | Local Index (short | long)
h = landshade(elev);
h = landshade(elev); elev = elevation of patches
This function is called by | |
---|---|
function h = landshade(elev); if nargin == 0; elev = -10000; end h = displaym(worldlo('POpatch')); set(h, 'Facecolor', 0.8*[1 1 1]); set(h, 'Edgecolor', 0.8*[1 1 1]); for i = 1:length(h); tem = get(h(i), 'ZData'); tem = tem+elev; % Here just use any number that is larger than the % maximum height of your contoured data set(h(i), 'ZData', tem); end