size 24*0.9 18*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 
	xtitle "$E_b/N_0$ ($\mathrm{dB}$)" hei 0.7
	ytitle "BER" hei 0.7
	xaxis min 0 max 80
	yaxis min 10^-6 max 10^0 log format "sci 0 10"
        xticks length 0.4
        yticks length 0.4

        data Nondispersive_DTCP_4QAM_theory.dat
	data Nondispersive_DTCP_4QAM_simulation.dat
	data Nondispersive_DTCP_16QAM_theory.dat
	data Nondispersive_DTCP_16QAM_simulation.dat
	data Nondispersive_DTCP_64QAM_theory.dat
	data Nondispersive_DTCP_64QAM_simulation.dat
	data Nondispersive_AWGN_4QAM_theory.dat
	data Nondispersive_AWGN_16QAM_theory.dat
	data Nondispersive_AWGN_64QAM_theory.dat
	


	d1 lstyle 0 lwidth 0.04 
	d2 marker square msize 0.5
	d3 lstyle 9 lwidth 0.04
	d4 marker triangle msize 0.5
	d5 lstyle 3 lwidth 0.04
	d6 marker diamond msize 0.5
	d7 lstyle 2 lwidth 0.04
	d8 lstyle 2 lwidth 0.04
	d9 lstyle 2 lwidth 0.04



end graph


begin key
	position tr
	offset 0.2 0.5
	text "Analysis, without IN"    hei 0.5 lstyle 2 lwidth 0.04
	text "Analysis 4QAM"  hei 0.5 lstyle 0 lwidth 0.04
	text "Analysis 16QAM"  hei 0.5 lstyle 9 lwidth 0.04
	text "Analysis 64QAM"  hei 0.5 lstyle 3 lwidth 0.04
end key

begin key
	position tr
	offset 0.2 3.5
	text "Simulation 4QAM" hei 0.5 marker square msize 0.5
	text "Simulation 16QAM" hei 0.5 marker triangle msize 0.5
	text "Simulation 64QAM" hei 0.5 marker diamond msize 0.5
end key






