-
Notifications
You must be signed in to change notification settings - Fork 0
/
counter_vs_int.gnuplot
35 lines (31 loc) · 1.48 KB
/
counter_vs_int.gnuplot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Note you need gnuplot 4.4 for the pdfcairo terminal.
# set terminal pdfcairo font "Gill Sans,9" linewidth 4 rounded fontscale 1.0
set terminal pdfcairo font "Gill Sans,7" linewidth 1 rounded fontscale 0.5
set border 3 front linewidth 1.000
set boxwidth 0.8 absolute
set style fill solid 1.00 noborder
set grid nopolar
set grid noxtics nomxtics ytics nomytics noztics nomztics \
nox2tics nomx2tics noy2tics nomy2tics nocbtics nomcbtics
set grid layerdefault lt 0 linewidth 0.500, lt 0 linewidth 0.500
set key bmargin center horizontal Left reverse noenhanced autotitle columnhead nobox maxcols 2 maxrows 1
set style histogram rowstacked title textcolor lt -1 offset character 2, 0.25, 0
set style data histograms
set cbtics border in scale 0,0 mirror norotate autojustify
set rtics axis in scale 0,0 nomirror norotate autojustify
set title "Advertisement Impression Counter"
set xlabel "(Client Number)"
set xlabel offset character 0, -1, 0 font "" textcolor lt -1 norotate
set ylabel "GB Transmitted"
set yrange [0:*]
##set yrange [ 0.00000 : 900000. ] noreverse nowriteback
set linetype 1 lc rgb "#A00000"
set linetype 2 lc rgb "#2c3e50"
set linetype 3 lc rgb "#5060D0"
set linetype 4 lc rgb "#F25900"
set datafile separator ","
set output outputname
plot newhistogram "32", inputname using "32_s":xtic(1) t 'State' lc 3, \
newhistogram "64", '' u "64_s":xtic(1) t '' lc 3, \
newhistogram "128", '' u "128_s":xtic(1) t '' lc 3, \
newhistogram "256", '' u "256_s":xtic(1) t '' lc 3