Last active
July 26, 2016 14:38
-
-
Save zhaar/4335ec01b335ef5f29c3352f0fd83112 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage{tikz} | |
\usepackage{pgfplots} | |
\begin{document} | |
\begin{tikzpicture} | |
\begin{axis}[nodes near coords, | |
ytick=data, | |
xtick=data, | |
width=13cm, | |
height=5cm, | |
xmin=1, | |
xmax=4.5, | |
ymin=0.6, | |
ymax=3.5, | |
xtick={1.3, 2, 3, 4, 5}, | |
xticklabels={Untyped,Simply typed,Quanfication,Translucency,}, | |
ytick={0,1,2,3}, | |
yticklabels={,No subtyping,Subtyped,Dependently typed}, | |
axis x line = bottom, | |
axis y line = left, | |
] | |
\addplot+[mark=none, draw=none, | |
point meta=explicit symbolic ] coordinates { | |
(1.3,1) [$\lambda$] | |
(2,1) [$STLC$] | |
(3,1) [$\lambda$ with subtyping] | |
(2,2) [System $F$] | |
(3,2) [$F_{<:}$] | |
(4,2) [$F_{<:>}$] | |
(2,3) [System $D$] | |
(3,3) [$D_{<:}$] | |
(4,3) [$D_{<:>}$] | |
}; | |
\end{axis} | |
\end{tikzpicture} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment