Statistics
| Branch: | Revision:

root / custompackages / graph-parser / src / plot_BC_comparison.gp @ 33e5ad95

History | View | Annotate | Download (702 Bytes)

1 162e1bda Quynh PX Nguyen
set term postscript enhanced color
2
set terminal postscript eps
3
4
if (!exists("FILENAME")) FILENAME='simple.edges.out'
5 d5b7a27f Quynh PX Nguyen
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 162e1bda Quynh PX Nguyen
set xlabel "Router (each integer corresponds to one router)"
12
set ylabel "Betweenness Centrality"
13
14 d5b7a27f Quynh PX Nguyen
plot INPUT_FILEPATH using 2 title sprintf('brandes %s (targets inclusion)', SUFFIX) pointtype 5 pointsize 1, \
15 33e5ad95 Quynh PX Nguyen
     INPUT_FILEPATH using 3 title sprintf('heuristic %s (substracted by bc\_inter)', SUFFIX) pointtype 7 pointsize 0.7