Index: DB/API_REST/utils/graphs.plt |
diff --git a/DB/API_REST/utils/graphs.plt b/DB/API_REST/utils/graphs.plt |
new file mode 100755 |
index 0000000000000000000000000000000000000000..b2f8c239154d0e5a995a46dfe3aade0ab91524c1 |
--- /dev/null |
+++ b/DB/API_REST/utils/graphs.plt |
@@ -0,0 +1,28 @@ |
+set terminal jpeg size 1200,500 |
+# reset all options to default, just for precaution |
+reset |
+set output "img/figure_graphs.jpg" |
+#set style data histograms |
+# set the figure size |
+#set size ratio 0.5 |
+ |
+# set the x axis |
+set xlabel "Object index" |
+set xtics rotate out |
+set style fill solid border |
+# set the y axis |
+set yrange [0:1] noreverse nowriteback |
+set ylabel "Average topology link utilization(%)" |
+set ytics 0,.1,1 |
+ |
+# set no grid (grid lines start from tics on both x and y axis) |
+#unset grid |
+set key outside; |
+set key right top; |
+#set style line 10 linetype 1 linecolor rgb "cyan" |
+#show style line |
+# plot the points from the data file |
+#set style histogram clustered |
+#plot for [COL=2:2] "log_graph/graphs.log" u COL:xticlabels(1) title columnheader |
+ |
+plot "log_graph/graphs.log" u 1:2 with linespoints ls 1 title columnheader |