Statistics
| Branch: | Revision:

root / custompackages / graph-parser / src / plot_BC_comparison.gp @ d5b7a27f

History | View | Annotate | Download (706 Bytes)

1
set term postscript enhanced color
2
set terminal postscript eps
3

    
4
if (!exists("FILENAME")) FILENAME='simple.edges.out'
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
11
set xlabel "Router (each integer corresponds to one router)"
12
set ylabel "Betweenness Centrality"
13

    
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