# Reproduce a graph using tikz

Good morning, I'm trying to reproduce the following picture

But I have somme difficult to make the inclined arrows showing the minima and the maxima. Can you help me please. Here what I have done until now :

\begin{tikzpicture}[holdot/.style={circle,draw,fill=white,inner sep=1.5pt}]
\draw[help lines, color=gray, dashed] (-5,-4) grid (5,3);
\draw[->,ultra thick] (-5,0)--(5,0) node[right]{$x$};
\draw[->,ultra thick] (0,-4)--(0,3) node[above]{$y$};

\draw [red,thick] plot [smooth] coordinates { (-3,-2) (-2,1) (-1,-3) (-0.5,0) (0,2) (1,-2) (2, 1) (2.9,-4)};

\draw[dashed,thick, color=blue] (-3,0) node[above] {$\alpha$} -- (-3,-2);
\draw[dashed,thick, color=blue] (3,0) node[above] {$\beta$} -- (3,-4);
\node[circle,fill=green,inner sep=0pt,minimum size=3pt,label=below right:{$c$}] (a) at (0.32,0) {};
\end{tikzpicture}

• please see if this is what is required - I have provided one arrow to mark the minima -- similar code can be replicated for the other arrows -- the out=-10 is the start angle of the arrow and in=-90 is the ending angle at the minima coord -- looseness gives the additional curviness to the arrow Dec 12, 2020 at 14:29

    \documentclass[12pt]{article}
\usepackage{tikz}
\usetikzlibrary{positioning, arrows, calc}
\begin{document}
\begin{tikzpicture}[holdot/.style={circle,draw,fill=white,inner sep=1.5pt}]
\draw[help lines, color=gray, dashed] (-5,-4) grid (5,3);
\draw[->,ultra thick] (-5,0)--(5,0) node[right]{$x$};
\draw[->,ultra thick] (0,-4)--(0,3) node[above]{$y$};

\draw [red,thick] plot [smooth] coordinates { (-3,-2) (-2,1) (-1,-3) (-0.5,0) (0,2) (1,-2) (2, 1) (2.9,-4)};

\draw[dashed,thick, color=blue] (-3,0) node[above](z) {$\alpha$} -- (-3,-2);
\draw[dashed,thick, color=blue] (3,0) node[above] {$\beta$} -- (3,-4);
\node[circle,fill=green,inner sep=0pt,minimum size=3pt,label=below right:{$c$}] (a) at (0.32,0) {};

\node[below left=5cm of z](s){minima} ;
\draw[->, >=stealth', blue, thick]($(s.east)+(2pt,0)$) to [out=-10, in=-90, looseness=1.2] (-1,-3);
\draw[->, >=stealth', blue, thick]($(s.east)+(2pt,0)$) to [out=-20, in=-90, looseness=1.3] (1,-2);
\end{tikzpicture}
\end{document}