| 
									
										
										
										
											2015-12-23 23:29:44 +00:00
										 |  |  | # gnuplot script for comparison to theoretical bounded distance decoding word error rate | 
					
						
							|  |  |  | # run: gnuplot fig_bodide.gnuplot | 
					
						
							|  |  |  | # then: pdflatex fig_bodide.tex | 
					
						
							|  |  |  | # | 
					
						
							| 
									
										
										
										
											2015-12-26 20:13:12 +00:00
										 |  |  | set term epslatex standalone size 6in,2*6/3in | 
					
						
							| 
									
										
										
										
											2015-12-23 23:29:44 +00:00
										 |  |  | set output "fig_bodide.tex" | 
					
						
							| 
									
										
										
										
											2015-12-26 20:13:12 +00:00
										 |  |  | set xlabel "$E_b/N_0$ (dB)" | 
					
						
							| 
									
										
										
										
											2015-12-23 23:29:44 +00:00
										 |  |  | set ylabel "Word Error Rate" | 
					
						
							|  |  |  | set style func linespoints | 
					
						
							|  |  |  | set key off | 
					
						
							|  |  |  | set tics in | 
					
						
							|  |  |  | set mxtics 2 | 
					
						
							|  |  |  | set mytics 10  | 
					
						
							|  |  |  | set grid | 
					
						
							|  |  |  | set logscale y | 
					
						
							| 
									
										
										
										
											2015-12-26 20:13:12 +00:00
										 |  |  | plot [3:9] [1e-4:1] "bmdata.dat" using ($1+29.1):(1-$2) with linespoints lt 1 pt 4 title 'BM', \ | 
					
						
							|  |  |  |            "bmtheory25.dat" using ($1-0.6):3 with linespoints lt 2 pt 5 title 'theory25', \ | 
					
						
							|  |  |  |            "ftdata-100000.dat" using ($1+29.1):(1-$2) every ::1 with linespoints lt 1 pt 4 title 'FT', \ | 
					
						
							|  |  |  |            "kvasd-15.dat" using ($1+29.1):(1-$2) every ::1 with linespoints lt 1 pt 4 title 'KV', \ | 
					
						
							|  |  |  |            "bodide.lab" with labels | 
					
						
							|  |  |  | 
 |