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 100
	yaxis min 10^-6 max 10^0 log format "sci 0 10"
        xticks length 0.4
        yticks length 0.4

        data Nondispersive_AWGN_4QAM_theory.dat
        data Dispersive_AWGN_4QAM_theory.dat
        data Nondispersive_DTCP_4QAM_theory.dat
        data Nondispersive_DTCP_4QAM_simulation.dat
        data Dispersive_DTCP_4QAM_theory.dat
	data Dispersive_DTCP_4QAM_simulation.dat
	data Nondispersive_DTCO_4QAM_theory.dat
        data Nondispersive_DTCO_4QAM_simulation.dat
        data Dispersive_DTCO_4QAM_theory.dat
	data Dispersive_DTCO_4QAM_simulation.dat
	
	


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



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, DT(CP), nondipsersive"  hei 0.5 lstyle 0 lwidth 0.04
	text "Analysis, DT(CP), dispersive"  hei 0.5 lstyle 5 lwidth 0.04
	text "Analysis, DT(CO), nondipsersive"  hei 0.5 lstyle 6 lwidth 0.04
	text "Analysis, DT(CO), dispersive"  hei 0.5 lstyle 9 lwidth 0.04
end key

begin key
	position tr
	offset 0.2 4.0
	text "Sim, DT(CP), nondipsersive"  hei 0.5 marker square msize 0.5
	text "Sim, DT(CP), dispersive"  hei 0.5 marker triangle msize 0.5
	text "Sim, DT(CO), nondipsersive"  hei 0.5 marker circle msize 0.5
	text "Sim, DT(CO), dispersive"  hei 0.5 marker diamond msize 0.5
end key






