%
% routine to extract specific window of Candela's GB bathy
%
load /home2/ocn/jmanning/gbr/bathy/georbat
%
lla=input('enter SW corner (lower left) latitude: ');
llo=input('enter SW cornet (lower left) longitude: ');
ura=input('enter NE corner (upper right) latitude: ');
uro=input('enter NE cornet (upper right) longitude: ');
%
id=find(D(:,2)>lla&D(:,2)<ura);
id2=find(D(id,1)>llo&D(id,1)<uro);
%
fploopy(D(id(id2),:))
