Commit c1c9b23a by Lee

Update WMT figure.

parent 50862afd
......@@ -195,10 +195,11 @@
\begin{center}
\begin{tikzpicture}
\begin{scope}[local bounding box=WMT]
\draw[-latex',very thick] (0,0) to (9,0);
\draw[-latex',very thick] (0,0) to (10,0);
\draw[-latex',very thick] (0.5,-0.5) to (0.5,3.5);
% 2015
\node[minimum width=0.5cm,minimum height=7*0.2cm,draw,fill=blue!30!white,inner sep=0pt,outer sep=0pt,anchor=south west] (smt2015) at (1,0.5pt) {};
\node[minimum width=0.5cm,minimum height=7*0.2cm,draw,fill=blue!30!white,inner sep=0pt,outer sep=0pt,anchor=south west] (smt2015) at (1.5,0.5pt) {};
\node[minimum width=0.5cm,minimum height=2*0.2cm,draw,fill=red!30!white,inner sep=0pt,outer sep=0pt,anchor=south west] (nmt2015) at (smt2015.south east) {};
\node[font=\normalsize,anchor=north] () at (smt2015.south east) {2015};
% 2016
......@@ -213,17 +214,21 @@
\node[minimum width=0.5cm,minimum height=0cm,draw,fill=blue!30!white,inner sep=0pt,outer sep=0pt,anchor=south west] (smt2018) at ($(nmt2017.south east)+(1,0)$) {};
\node[minimum width=0.5cm,minimum height=14*0.2cm,draw,fill=red!30!white,inner sep=0pt,outer sep=0pt,anchor=south west] (nmt2018) at (smt2018.south east) {};
\node[font=\normalsize,anchor=north] () at (smt2018.south east) {2018};
% plot
\draw[-latex,blue,very thick] (smt2015.north) to (smt2016.north) to (smt2017.north) to (smt2018.north);
\draw[-latex,red,very thick] (nmt2015.north) to (nmt2016.north) to (nmt2017.north) to (nmt2018.north);
\end{scope}
% legend
\ExtractX{$(nmt2015.west)$}
\ExtractY{$([yshift=5pt]WMT.north)$}
\node[minimum width=0.5cm,rectangle,draw,fill=blue!30!white,anchor=south west,label={[label distance=1pt,font=\scriptsize]0:统计机器翻译}] () at (\XCoord,\YCoord) {};
\ExtractY{$(WMT.north)$}
\node[minimum width=0.5cm,rectangle,draw,fill=blue!30!white,anchor=north west,label={[label distance=1pt,font=\scriptsize]0:统计机器翻译}] () at (\XCoord,\YCoord) {};
\ExtractX{$(nmt2017.west)$}
\ExtractY{$([yshift=5pt]WMT.north)$}
\node[minimum width=0.5cm,rectangle,draw,fill=red!30!white,anchor=south west,label={[label distance=1pt,font=\scriptsize]0:神经机器翻译}] () at (\XCoord,\YCoord) {};
\node[minimum width=0.5cm,rectangle,draw,fill=red!30!white,anchor=north west,label={[label distance=1pt,font=\scriptsize]0:神经机器翻译}] () at (\XCoord,\YCoord) {};
\node[font=\normalsize,below=0pt of WMT] () {WMT往年冠军各类型系统的数目};
\node[font=\normalsize,below=0pt of WMT] () {WMT冠军系统};
\node[font=\normalsize,rotate=90] () at (WMT.west) {数量};
\end{tikzpicture}
\end{center}
\end{frame}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论