/
figures-ng.tex
91 lines (74 loc) · 2.1 KB
/
figures-ng.tex
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
\documentclass[a4paper,english]{report}
\include{rendering-preamble}
\usepackage[pfx=figures-ng-]{jpfigurengcommands}
\include{tableread}
\begin{document}
\tikzsetnextfilename{mini-2x1-categories-scatter}
\begin{tikzpicture}
\begin{groupplot}[
group style={
group size=2 by 1,
horizontal sep=4pt,
},
]
\nextgroupplot[
% title=C1 Sweden,
xlabel=http-www,
ylabel=https-www,
allDatasetsScatter,
allDatasetsScatterMiniResults,
scatter/classes={
Any={mark=square,blue},%
Disconnect={mark=triangle,red},%
Content={mark=x,draw=black},%
Advertising={mark=o,draw=red},%
Analytics={mark=diamond,draw=blue},%
Social={mark=+,draw=teal},%
% Hack to put the helper line in the legend.
{}={mark=-,draw=gray},%
% Fix legend three-column layout by padding the last column with empty entries.
{}={mark=none},%
{}={mark=noney}%
},
]
\addDefaultScatterTableDatasetsNonFailedDisconnectCategoriesCoverageExternalSortedSwedenHttpHttpsWww
\addDefaultScatterOneToOneTrendLine
% Fix legend three-column layout by padding the last column with empty entries.
\addlegendentry{}
\addlegendentry{}
\legend{}
\nextgroupplot[
% title=C2 Global,
xlabel=http-www,
% ylabel=https-www,
allDatasetsScatter,
allDatasetsScatterMiniResults,
scatter/classes={
Any={mark=square,blue},%
Disconnect={mark=triangle,red},%
Content={mark=x,draw=black},%
Advertising={mark=o,draw=red},%
Analytics={mark=diamond,draw=blue},%
Social={mark=+,draw=teal},%
% Hack to put the helper line in the legend.
{}={mark=-,draw=gray},%
% Fix legend three-column layout by padding the last column with empty entries.
{}={mark=none},%
{}={mark=noney}%
},
yticklabels={},
legend columns=3,
legend transposed=true,
legend style={
at={(0.0,1.03)},%
anchor=south%
},
]
\addDefaultScatterTableDatasetsNonFailedDisconnectCategoriesCoverageExternalSortedGlobalHttpHttpsWww
\addDefaultScatterOneToOneTrendLine
% Fix legend three-column layout by padding the last column with empty entries.
\addlegendentry{}
\addlegendentry{}
\end{groupplot}
\end{tikzpicture}
\end{document}