Skip to content

Commit

Permalink
Move category https/http scatter plot legend to above figure
Browse files Browse the repository at this point in the history
  • Loading branch information
joelpurra committed Aug 14, 2016
1 parent a4f9af6 commit f8a09cd
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
24 changes: 22 additions & 2 deletions paper/figures-ng.tex
Expand Up @@ -32,13 +32,20 @@
Analytics={mark=diamond,draw=blue},%
Social={mark=+,draw=teal},%
% Hack to put the helper line in the legend.
{}={mark=-,draw=gray}%
{}={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[
Expand All @@ -55,14 +62,27 @@
Analytics={mark=diamond,draw=blue},%
Social={mark=+,draw=teal},%
% Hack to put the helper line in the legend.
{}={mark=-,draw=gray}%
{}={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}

Expand Down
2 changes: 1 addition & 1 deletion paper/jpfigurengcommands.sty
Expand Up @@ -102,7 +102,7 @@
(2,2)
};

\addlegendentry{Parity reference line}
\addlegendentry{Parity line}
}

\newcommand{\addDefaultScatterTableDatasetsNonFailedDisconnectCategoriesCoverageExternalSortedHttpHttpsWww}[2]{
Expand Down

0 comments on commit f8a09cd

Please sign in to comment.