```
\documentclass{standalone}
\usepackage{tikz,amsmath,osno}
\usetikzlibrary{patterns}
\begin{docum...
```
\documentclass{standalone}
\usepackage{tikz,amsmath,osno}
\usetikzlibrary{patterns}
\begin{document}
\begin{tikzpicture}
\draw -latex,thick—(4,0) node [below] {\large $x$};
\draw -latex,thick—(0,5) node [left] (0,5) {\large $y$};
\draw [smooth,very thick, domain=-2.5:2.5] plot (\x, {0.5\x\x});
\draw [smooth,very thick, domain=-5:1] plot (\x, {0.5*(\x+2)^2-2});
\foreach \x in{-5,-4,-3,-2,-1,0,1,2,3 }{ \draw (\x,0.15)—(\x,0);
}
\foreach \y in{-4,-3,-2,-1,0,1,2,3,4}{ \draw (0.15,\y)—(0,\y);
}
\draw [thick,densely dashed] (-2,4)—(-2,-3);
\node [below right] at (0,0) {\large $O$};
\end{tikzpicture}
\end{document}
```
![](https://pics.latexstudio.net/data/images/201912/c187fe1997537f5.jpg)
一周热门 更多>