% plots the spectrum nicely function plotHoughSpectrum(spectrum, color); plot(spectrum, color); % Display nice axis ticks for theta s=size(spectrum,2); ticks=[0:s/8:s]; set(gca,'XTick',ticks); set(gca,'XTickLabel',round(ticks*360/s)); xlabel('theta \theta');