
\begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=0.7cm,y=0.7cm]
\begin{axis}[
x=0.7cm,y=0.7cm,
axis lines=middle,
ymajorgrids=true,
xmajorgrids=true,
xmin=-1.5091996830975765,
xmax=9.646433387695664,
ymin=-2.582115425188717,
ymax=4.378397620668885,
xtick={-1.0,0.0,...,9.0},
ytick={-2.0,-1.0,...,4.0},]
\clip(-1.5091996830975765,-2.582115425188717) rectangle (9.646433387695664,4.378397620668885);

\draw [samples=50,rotate around={0.:(0.,0.)},xshift=0.cm,yshift=0.cm,line width=1.pt,domain=-1.0:1.0)] plot (\x,{(0.075*(\x)^3+0.325*(\x)^2+0.925*(\x)+-1.325)/1.0}););
\draw [samples=50,rotate around={0.:(0.,0.)},xshift=0.cm,yshift=0.cm,line width=1.pt,domain=1.0:3.0)] plot (\x,{(-0.55*(\x)^3+2.85*(\x)^2+-2.25*(\x)+-0.05)/1.0}););
\draw [samples=50,rotate around={0.:(0.,0.)},xshift=0.cm,yshift=0.cm,line width=1.pt,domain=3.0:5.0)] plot (\x,{(0.75*(\x)^3+-9.25*(\x)^2+35.25*(\x)+-38.75)/1.0}););
\draw [samples=50,rotate around={0.:(0.,0.)},xshift=0.cm,yshift=0.cm,line width=1.pt,domain=5.0:7.0)] plot (\x,{(0.0*(\x)^3+0.25*(\x)^2+-3.5*(\x)+11.25)/1.0}););
\draw [samples=50,rotate around={0.:(0.,0.)},xshift=0.cm,yshift=0.cm,line width=1.pt,domain=7.0:9.0)] plot (\x,{(-0.5*(\x)^3+12.0*(\x)^2+-94.5*(\x)+244.0)/1.0}););

\begin{scriptsize}
\draw [color=black] (-1.,-2.)-- ++(-2.5pt,0 pt) -- ++(5.0pt,0 pt) ++(-2.5pt,-2.5pt) -- ++(0 pt,5.0pt);
\draw [color=black] (1.,0.)-- ++(-1.5pt,0 pt) -- ++(3.0pt,0 pt) ++(-1.5pt,-1.5pt) -- ++(0 pt,3.0pt);
\draw [color=black] (3.,4.)-- ++(-1.5pt,0 pt) -- ++(3.0pt,0 pt) ++(-1.5pt,-1.5pt) -- ++(0 pt,3.0pt);
\draw [color=black] (5.,0.)-- ++(-1.5pt,0 pt) -- ++(3.0pt,0 pt) ++(-1.5pt,-1.5pt) -- ++(0 pt,3.0pt);
\draw [color=black] (7.,-1.)-- ++(-1.5pt,0 pt) -- ++(3.0pt,0 pt) ++(-1.5pt,-1.5pt) -- ++(0 pt,3.0pt);
\draw [color=black] (9.,1.)-- ++(-2.5pt,0 pt) -- ++(5.0pt,0 pt) ++(-2.5pt,-2.5pt) -- ++(0 pt,5.0pt);
\end{scriptsize}
\end{axis}
\end{tikzpicture}
