也许您对以下内容更满意:
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}
\draw (0,0) -- (1,0) -- (0,-1);
\path[anchor=mid] (0,0) node[base left] {i} node[base right] {y};
\end{tikzpicture}
\end{document}