aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranklin Wei <me@fwei.tk>2018-07-31 21:39:34 -0400
committerFranklin Wei <me@fwei.tk>2018-07-31 21:39:34 -0400
commit18f15a53d7739361fe40839274d8568282cd4459 (patch)
treeae3828a6d28b2dffba2a2993aaa2358b0c3f54af
parent302091c1881c2a6f03f2b73c39834ac5548f8723 (diff)
downloadcsaa-18f15a53d7739361fe40839274d8568282cd4459.zip
csaa-18f15a53d7739361fe40839274d8568282cd4459.tar.gz
csaa-18f15a53d7739361fe40839274d8568282cd4459.tar.bz2
csaa-18f15a53d7739361fe40839274d8568282cd4459.tar.xz
Change graph font to Times New Roman
Should fix the alignment issues seen with the BitstreamVera family.
-rwxr-xr-xgraph.gnu22
1 files changed, 11 insertions, 11 deletions
diff --git a/graph.gnu b/graph.gnu
index c0b3d01..20dc9be 100755
--- a/graph.gnu
+++ b/graph.gnu
@@ -6,7 +6,7 @@ set yrange [0:2000]
set style line 1 lc rgb '#0060ad' lt 1 lw 2 pt -1 ps 0
set style line 3 pt -1 ps 0
-set terminal pdf size 6in,6in
+set terminal eps size 6in,6in font "Times New Roman"
create_times = "`wc -l labels_0_create.txt`"
modify_times = "`wc -l labels_1_modify.txt`"
@@ -16,32 +16,32 @@ create_labels = "`cat labels_0_create.txt | tr "\n" " "`"
modify_labels = "`cat labels_1_modify.txt | tr "\n" " "`"
retrieve_labels = "`cat labels_2_retrieve.txt | tr "\n" " "`"
-set output "graph_create.pdf"
-set terminal qt 0
+set output "graph_create.eps"
+#set terminal qt 0
plot for[i=3 * create_times - 1:2:-3] '< paste results/final_data_0_*.txt' u 1:(sum [col=2:i] column(col)) title 'Create '.word(create_labels, (i+1) / 3) w filledcurves x1, \
for[i=3 * create_times - 1:2:-3] '< paste results/final_data_0_*.txt' u 1:(sum [col=2:i] column(col)):i+1 title '+/- 1.96 SE' w yerrorbars ls 1;
-set output "graph_modify.pdf"
-set terminal qt 1
+set output "graph_modify.eps"
+#set terminal qt 1
plot for[i=3 * modify_times - 1:2:-3] '< paste results/final_data_1_*.txt' u 1:(sum [col=2:i] column(col)) title 'Modify '.word(modify_labels, (i+1) / 3) w filledcurves x1, \
for[i=3 * modify_times - 1:2:-3] '< paste results/final_data_1_*.txt' u 1:(sum [col=2:i] column(col)):i+1 title '+/- 1.96 SE' w yerrorbars ls 1;
-set output "graph_retrieve.pdf"
-set terminal qt 2
+set output "graph_retrieve.eps"
+#set terminal qt 2
plot for[i=3 * retrieve_times - 1:2:-3] '< paste results/final_data_2_*.txt' u 1:(sum [col=2:i] column(col)) title 'Retrieve '.word(retrieve_labels, (i+1) / 3) w filledcurves x1, \
for[i=3 * retrieve_times - 1:2:-3] '< paste results/final_data_2_*.txt' u 1:(sum [col=2:i] column(col)):i+1 title '+/- 1.96 SE' w yerrorbars ls 1;
-set output "graph_modifyenc.pdf"
-set terminal qt 3
+set output "graph_modifyenc.eps"
+#set terminal qt 3
plot for[i=3 * modify_times - 1:2:-3] '< paste results/final_data_3_*.txt' u 1:(sum [col=2:i] column(col)) title 'Encrypted modify '.word(modify_labels, (i+1) / 3) w filledcurves x1, \
for[i=3 * modify_times - 1:2:-3] '< paste results/final_data_3_*.txt' u 1:(sum [col=2:i] column(col)):i+1 title '+/- 1.96 SE' w yerrorbars ls 1;
-set output "graph_retrieveenc.pdf"
-set terminal qt 4
+set output "graph_retrieveenc.eps"
+#set terminal qt 4
plot for[i=3 * retrieve_times - 1:2:-3] '< paste results/final_data_4_*.txt' u 1:(sum [col=2:i] column(col)) title 'Encrypted retrieve '.word(retrieve_labels, (i+1) / 3) w filledcurves x1, \
for[i=3 * retrieve_times - 1:2:-3] '< paste results/final_data_4_*.txt' u 1:(sum [col=2:i] column(col)):i+1 title '+/- 1.96 SE' w yerrorbars ls 1;