function   hh=warningtext
%% display warning message if wrong buton is clicked

%%  Kriging Software Package  version 1.0 beta,   October 29, 1998
%%  Copyright (c) 1998, property of Dezhang Chu and Woods Hole Oceanographic
%%  Institution.  All Rights Reserved.


gh=findobj(gcf,'Tag','variogramAxes1');

ht1=text(0.02,0.6,['Select ' '''' 'Compute' '''' ' Button to compute'],'sc');
ht2=text(0.02,0.5,'Variogram/Covariance from the data','sc');
ht3=text(0.1,0.2,'press any key to continue ...','sc');
htxt=[ht1 ht2 ht3];   
set(htxt,'color','b','fontweight','bold');
drawnow
pause
set(htxt,'visible','off');
hh=htxt;