function map2( X1, X2, Y1, Y2, filenames)
%
%  The function map2( X1, X2, Y1, Y2, filenames) reads the files
%  whose names are contained in the matrix 'filename' and plots
%  a map contained in the coordinates X1<x<X1 and Y1<y<Y2, where
%  all the coordinates are in decimal degrees.
%  The format of the data contained in the file 'filename' can
%  be the same as the one contained in the SURFER's *.BLN files
%  This function generates a color plot (cyan sea, yellow land).
%  For black and white plots, see bwmap2, bwmap1.
%
%  See also map1, seamap
%
% ------------------------------------------------------------------
%  Written by Vassilis Zervakis, while at
%             AINCO-Interocean, Madrid, Spain, in December 1995
%-------------------------------------------------------------------
%
xlabel('Longitude');
ylabel('Latitude');  
axis([X1  X2  Y1  Y2]);
axis(axis);
seamap(X1, X2, Y1, Y2);
axis(axis);
hold on;
[nn,mm] = size(filenames);
i = 1;
while i <= nn,
   hold on ;
   map1(X1,X2,Y1,Y2,filenames(i,1:mm));
   i = i + 1; 
end

