function RangeRadar_plot(fid, titlestr, dumpstr, ...
                         m, n, s, SNR, mu, GERR, IERR, ...
                         k_exact, fk_exact, k_cs, fk_cs, ...
                         kmin, kmax)


figure(fid); 
%plot(k_exact, fk_exact, 'ro', k_cs, fk_cs, 'bx'); 
stem(k_exact, fk_exact, 'ro'); 
hold on
stem(k_cs, fk_cs, 'bx'); 
hold off

xlim([kmin, kmax]); xlabel('\Delta\tau'); 
ylim([0, ceil(max([abs(fk_cs);abs(fk_exact)]))]); ylabel('|\sigma(\tau)|');
if(mu==0 || GERR==0)
    title([titlestr, ...
        ', m=', int2str(m), ...
        ', n=', int2str(n), ...
        ', s=', int2str(s), ...
        ', IERR=', num2str(IERR) ]);   
else
    title([titlestr, ...
        ', m=', int2str(m), ...
        ', n=', int2str(n), ...
        ', s=', int2str(s), ...        %', SNR=', num2str(SNR), ...
        ', \mu=', num2str(mu), ...
        ', GERR=', num2str(GERR), ...
        ', IERR=', num2str(IERR) ]);   
end
save2pdf(dumpstr, gcf); %print('-dpdf', dumpstr ); 

%%