function bwmap2( X1, X2, Y1, Y2, filenames, gnome)
%
%  The function bwmap2(X1,X2,Y1,Y2,filenames,gnome) 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 SUBROUTINE IS FOR BLACK AND WHITE MAPS. FOR COLORED MAPS
%  USE ROUTINE map2.
%
%  See also bwmap1, map2, map1, seamap
%
% ------------------------------------------------------------------
%  Written by Vassilis Zervakis (1995),
%  modified by Mike Sparrow (1997) whilest at
%            AINCO-Interocean, Madrid, Spain.
%-------------------------------------------------------------------
%
global lon lat bathon temp pres float start finish lowpassdone
global llon llat ltemp lpres
if (gnome == 'wee'),
  axes('Units','cent',...
       'Position',[3 8 15 10],...
       'GridLineStyle',':',...
       'Box','on');
 if (lowpassdone(1:2) == 'of'),
  title(str2mat(['Float Number ' float ', launch day ' start]));
  else,
  title(str2mat(['Float Number ' float ', launch day ' start ' (lowpassed data).']));
  grid on;
 end
  else,
end
xlabel('Longitude/degrees');
ylabel('Latitude/degrees');  
axis([X1  X2  Y1  Y2]);
axis(axis);
axis(axis);
[nn,mm] = size(filenames);
% map1(X1,X2,Y1,Y2,filenames(1,1:mm));
i = 1;
while i <= nn,
   hold on
   bwmap1(X1,X2,Y1,Y2,filenames(i,1:mm),gnome);
   i = i + 1;
   hold off
end
%
%- If summary map is being drawn, overlay floats now -
%
if (gnome == 'wee') & (bathon ==0),
  hold on
  if (lowpassdone(1:2) == 'of'),
  summary(lon,lat);
  else,
  summary(llon,llat);
  end
end
