jaredbeck/graph_matching

View on GitHub
benchmark/mcm_general/complete_graphs/plot.gnuplot

Summary

Maintainability
Test Coverage
data_dir = "~/git/jaredbeck/graph_matching/benchmark/mcm_general/complete_graphs"

set title "MCM Should Be O(v^3) In General Graphs.\n".\
"(Gabow, 1976, p. 221)"
set key left
set term png size 800, 500
set output data_dir."/plot.png"

set linetype 1 pointtype 7 linecolor rgb "#FF0000"
set linetype 2 linewidth 3 linecolor rgb "#00B800"

set xlabel 'Number of Vertexes, v' textcolor rgb "black"
set ytics autofreq textcolor rgb "black"
set ylabel 'Time (s)' textcolor rgb "black"
set y2tics autofreq textcolor rgb "black"
set y2label 'v^3' textcolor rgb "black"

plot data_dir."/time.data" using 1:2 title "Time (s)" lt 1, \
data_dir."/v_cubed.data" using 1:2 title "v^3" with lines lt 2 axes x1y2