%  Show 2D spectrum in selected axes
%
%  Version 1.0, JAJ, 3/11-2003

function res = show_spectrum (hp, data)

axes(hp); 
contour((0:511)/512-0.5,(0:511)/512-0.5,data,[0:-6:-30]); 
axis([-0.05 0.05 -0.05 0.05]);
xlabel('Normalized frequency')
ylabel('Normalized frequency')
grid

