size 24*0.9 18/2*0.9
set font rm hei 0.7
set lstyle 1 lwidth 0.02
amove 3.5 15.7

set lstyle 1 lwidth 0.005
set texlabels 1
amove 0 0 
begin graph 
nobox
	size 24 18/2
	xtitle "Tone $n$" hei 0.7
	ytitle "Power (Watt)" hei 0.7
	xaxis min 1 max 2048
	xplaces 1-1 512-1 1024-1 1536-1 2048-1
	yaxis min 10^-12 max 10^-3 log format "sci 0 10"
        xticks length 0.4
        yticks length 0.4


	data impulsive_noise.dat
	data var_in.dat
	data stationary_noise.dat
	

        d1 lstyle 9 lwidth 0.06
        d2 lstyle 2 lwidth 0.06
        d3 lstyle 0 lwidth 0.06


end graph

begin key

	position tr
	offset 0.2 0.2
	text "Desired impulsive noise"  hei 0.5 lstyle 9 lwidth 0.06
	text "Generated impulsive noise" hei 0.5 lstyle 2 lwidth 0.06
	text "Stationary Noise" hei 0.5 lstyle 0 lwidth 0.06
end key

