# set termoption dash set terminal postscript eps color enhanced size 8.6cm,6cm dl 3 \ font "Helvetica,16pt" set output 'compressibility_versus_correlation.eps' set style line 1 lt 1 lc rgb "black" lw 1 set style line 2 lt 1 lc rgb "black" lw 1 set style line 3 lt 1 lc rgb "black" lw 1 set style line 4 lt 1 lc rgb "black" lw 1 set style line 5 lt 1 lc rgb "black" lw 2 # set style line 6 lt 2 lc rgb "black" lw 2 # set style line 7 lt 3 lc rgb "black" lw 2 # set style line 8 lt 4 lc rgb "black" lw 2 # set style line 9 lt 5 lc rgb "black" lw 2 # set style line 10 lt 6 lc rgb "black" lw 2 set style line 6 lt 1 pt 8 ps 2 lc rgb "magenta" lw 2 set style line 7 lt 1 pt 9 ps 2 lc rgb "blue" lw 2 set style line 8 lt 1 pt 4 ps 1.5 lc rgb "red" lw 2 set style line 9 lt 1 pt 5 ps 1.5 lc rgb "#00bf00" lw 2 set style line 10 lt 2 pt 7 ps 1.5 lc rgb "black" lw 2 # set key font "Helvetica, 18" # set key at 5, 0.75 set key left # set key spacing 1.3 #set logscale x #unset mxtics set xtics 0.1 set xlabel "Probability of Correlation, p" set ylabel "Compression Ratio\n(Compressed/ Original)" # show xlabel # show ylabel #set format x "10^{%L}" # set grid # set xtics font "Helvetica, 18" # set ytics font "Helvetica, 18" set xrange [0:0.5] #set yrange [-0.2:0.8] # set label 1 'S = 0' at 350000,-0.05 ; # font "Helvetica, 18" # set arrow 1 from 290000, -0.05 to 100000, -0.01 head filled ls 5 set label 6 "bzip" at 0.15, 1.02 set label 7 "lzma" at 0.128, 0.69 set label 8 "gzip" at 0.355, 0.91 #set label 8 "NCD(A1, B0)" at 150,0.35 set arrow 6 from 0.2, 0.96 to 0.2, 1.0 ls 6 nohead #bzip arrow set arrow 7 from 0.1, 0.73 to 0.12, 0.69 ls 8 nohead #lzma arrow set arrow 8 from 0.4, 0.93 to 0.4, 0.98 ls 7 nohead #gzip arrow #set arrow 9 from 10,0.50 to 10,0.15 ls 9 nohead #NCD(A1, B1) arrow #set arrow from 1,0 to 10000000,0 nohead ls 5 #set arrow from 1000,0 to 10000000,0 nohead ls 5 plot 'result_bz2.dat' using 1:($2/$3) with linespoints ls 6 notitle,\ 'result_gzip.dat' using 1:($2/$3) with linespoints ls 7 notitle,\ 'result_lzma.dat' using 1:($2/$3) with linespoints ls 8 notitle replot