function dShowSignal(i,j)
%dShowSignal - shows one data signal (distance between two sensors)
%	dShowSignal(i,j)
%	i, j - numbers of the two sensors

global dist d2 teta

subplot(211); 
if ( size(d2) == size(dist) )
	plot([dExtract(dist, i,j) dExtract( dist, j,i) dExtract(d2,i,j)]); 
else
	plot([dExtract(dist, i,j) dExtract( dist, j,i)]); 
end;
title(sprintf('signal(%d,%d)',i,j)); 
subplot(212); plot([dExtract( teta, i,j) dExtract( teta, j,i)]); 
xlabel('teta');
a = axis; axis([a(1) a(2) -0.1 1.1]);
drawnow;

return;
