Revision d5b7a27f custompackages/graph-parser/src/plot_BC_comparison.gp

View differences:

custompackages/graph-parser/src/plot_BC_comparison.gp
2 2
set terminal postscript eps
3 3

  
4 4
if (!exists("FILENAME")) FILENAME='simple.edges.out'
5
INPUT_FILEPATH = sprintf("../output/%s", FILENAME)
6
set output sprintf("../output/visualization/%s_unweighted.eps", FILENAME)
7
set title "Centrality for edge_list"
5
if (!exists("SUFFIX")) SUFFIX=''
6

  
7
INPUT_FILEPATH = sprintf("../output/%s.out", FILENAME)
8
set output sprintf("../output/visualization/%s.eps", FILENAME)
9

  
10
set title sprintf("Centrality for %s", FILENAME) noenhanced # to display underscore instead of subscript
8 11
set xlabel "Router (each integer corresponds to one router)"
9 12
set ylabel "Betweenness Centrality"
10 13

  
11
plot INPUT_FILEPATH using 2 title 'brandes unweighted (no inclusion of endpoints)' pointtype 7 pointsize 0.7, \
12
     INPUT_FILEPATH using 3 title 'heuristic (not substracted by bc\_inter)' pointtype 5 pointsize 1
14
plot INPUT_FILEPATH using 2 title sprintf('brandes %s (targets inclusion)', SUFFIX) pointtype 5 pointsize 1, \
15
     INPUT_FILEPATH using 3 title sprintf('heuristic %s (not substracted by bc\_inter)', SUFFIX) pointtype 7 pointsize 0.7

Also available in: Unified diff