tzplot 패키지를 이용하여 위 질문의 그래프를 그리면:
\documentclass{standalone} \usepackage{tzplot} \begin{document} \begin{tikzpicture} \tzhelplines(-5,-10)(5,10) % axes \tzaxes*(-5,-10)(5,10){$x$}[b]{$y$}[l] %% bounding box \tzticksx(-3pt:3pt){-4,-2,2,4}[yshift=-3pt] \tzticksy(-3pt:3pt){-8,-6,-4,-2,2,4,6,8}[xshift=-3pt] \tzshoworigin{O} % functions \def\Fx{(\x)^2} \def\Gx{-(\x)^2} \tzfn[very thick]\Fx[-3.2:3.2] \tzfn[very thick,red]\Gx[-3.2:3.2] \tznode(2.5,6){$y=x^2$}[r] \tznode(2.5,-6){$y=-x^2$}[r] % lines and mid-arrows \settzmidarrow{Bar[black,sep]Bar[black]} \tzline[teal,-->--](2,0)(2,4) \tzline[teal,-->--](2,0)(2,-4) \settzmidarrow{Bar[black]} \tzline[teal,-->--](-3,0)(-3,9) \tzline[teal,-->--](-3,0)(-3,-9) \end{tikzpicture} \end{document}
KTUG 한국 텍 사용자 그룹
tzplot 패키지를 이용하여 위 질문의 그래프를 그리면: