function showvar(lon,lat,var,ind)
%function showvar(lon,lat,var,ind)
%   var is some  vector with the same structure as lat and lon
%   program writes the numbers out in the lat lon positions, rounded to 
%   nearest int.
%   ind is optional index array
if nargin==2
      var=1:length(lon(:));
end
if nargin<4
	ind=1:length(var(:));
end
plot(lon(ind),lat(ind),'.')
hold on
for i=ind
    if var(i)~=nan
        text(lon(i),lat(i),int2str(round(var(i))))
    end
end
