-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathingroup-size.gplot
104 lines (100 loc) · 4 KB
/
ingroup-size.gplot
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# set term png small color
#################################################
# Used to generate the the size-of-ingroup vs threshold graph.
#
## set term png
## set out 'ingroup-size.png'
#set term postscript eps enhanced color 20
#set out 'ingroup-size.eps'
#set key left top
#set logscale y
#set title "Size of Ingroup vs. Threshold"
#set xlabel "Threshold"
#set ylabel "Size"
## set yrange [1:1000]
#set format y "10^{%L}"
#
#plot "grp-is-was.dat" using 2:3 with lines lw 2 title "is - was", \
# "grp-and-but.dat" using 2:3 with lines lw 2 title "and - but",\
# "grp-in-of.dat" using 2:3 with lines lw 2 title "in - of",\
# "grp-she-he.dat" using 2:3 with lines lw 2 title "she - he",\
# "grp-comma-semi.dat" using 2:3 with lines lw 2 title ", - ;",\
# "grp-period-quest.dat" using 2:3 with lines lw 2 title ". - ?",\
# "grp-plus-minus.dat" using 2:3 with lines lw 2 title "+ - -",\
# "grp-roman-i-ii.dat" using 2:3 with lines lw 2 title "i - ii"
#
## "grp-It-There.dat" using 2:3 with lines lw 2 title "It - There"
#
#################################################
# Used to generate the the size-of-ingroup vs threshold graph.
#
## set term png
## set out 'in-migrp-size.png'
#set term postscript eps enhanced color 20
#set out 'in-migrp-size.eps'
#set key left top
#set logscale y
#set title "Size of Ingroup vs. Threshold"
#set xlabel "MI-only Threshold"
#set ylabel "Size"
#set yrange [1:1000]
#set format y "10^{%L}"
#
#plot "gmi-is-was.dat" using 2:3 with lines lw 2 title "is - was", \
# "gmi-and-but.dat" using 2:3 with lines lw 2 title "and - but",\
# "gmi-in-of.dat" using 2:3 with lines lw 2 title "in - of",\
# "gmi-she-he.dat" using 2:3 with lines lw 2 title "she - he",\
# "gmi-comma-semi.dat" using 2:3 with lines lw 2 title ", - ;",\
# "gmi-period-quest.dat" using 2:3 with lines lw 2 title ". - ?",\
# "gmi-plus-minus.dat" using 2:3 with lines lw 2 title "+ - -",\
# "gmi-roman-i-ii.dat" using 2:3 with lines lw 2 title "i - ii",\
# "gmi-It-There.dat" using 2:3 with lines lw 2 title "It - There"
#
#################################################
# Used to generate the the size-of-ingroup vs ranking graph.
#
## set term png
## set out 'ingroup-spread.png'
#set term postscript eps enhanced color 20
#set out 'ingroup-spread.eps'
#set key right bottom
#set logscale x
#set logscale y
#set title "Size of Ingroup vs. Index Spread"
#set xlabel "Size"
#set ylabel "Index Spread"
#set yrange [1:1400]
#set format y "10^{%L}"
#
#plot "grp-is-was.dat" using 3:($5-$4) with lines lw 2 title "is - was", \
# "grp-and-but.dat" using 3:($5-$4) with lines lw 2 title "and - but",\
# "grp-in-of.dat" using 3:($5-$4) with lines lw 2 title "in - of",\
# "grp-she-he.dat" using 3:($5-$4) with lines lw 2 title "she - he",\
# "grp-comma-semi.dat" using 3:($5-$4) with lines lw 2 title ", - ;",\
# "grp-period-quest.dat" using 3:($5-$4) with lines lw 2 title ". - ?",\
# "grp-plus-minus.dat" using 3:($5-$4) with lines lw 2 title "+ - -",\
# "grp-roman-i-ii.dat" using 3:($5-$4) with lines lw 2 title "i - ii",\
## "grp-It-There.dat" using 3:($5-$4) with lines lw 2 title "It - There"
#
#################################################
# Used to generate the the size-of-ingroup vs threshold graph.
#
# set term png
# set out 'ingroup-middle.png'
set term postscript eps enhanced color 20
set out 'ingroup-middle.eps'
set key left top
set logscale y
set title "Size of Ingroup vs. Threshold"
set xlabel "Threshold"
set ylabel "Size"
set xrange [-2:8]
set yrange [1:1000]
set format y "10^{%L}"
plot "grp-is-was.dat" using 2:3 with lines lw 2 title "is - was", \
"grp-spoke-sat.dat" using 2:3 with lines lw 2 title "spoke - sat",\
"grp-look-smile.dat" using 2:3 with lines lw 2 title "look - smile",\
"grp-town-earth.dat" using 2:3 with lines lw 2 title "town - earth",\
"grp-door-house.dat" using 2:3 with lines lw 2 title "door - house"
# "grp-is-was.dat" using 2:(3*exp(0.5*$2)) with lines lw 2 title "fit",\
#################################################