
\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.6785094598887045,
xmax=9.94742854643545,
ymin=-2.3939934509763487,
ymax=3.531848736713232,
xtick={-1.0,0.0,...,9.0},
ytick={-2.0,-1.0,...,3.0},]
\clip(-1.6785094598887045,-2.3939934509763487) rectangle (9.94742854643545,3.531848736713232);

\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.175*(\x)^3+-0.325*(\x)^2+-1.175*(\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:4.0)] plot (\x,{(0.0037*(\x)^3+0.18889*(\x)^2+-1.68889*(\x)+1.4963)/1.0}););
\draw [samples=50,rotate around={0.:(0.,0.)},xshift=0.cm,yshift=0.cm,line width=1.pt,domain=4.0:5.0)] plot (\x,{(0.0*(\x)^3+2.0*(\x)^2+-16.0*(\x)+30.0)/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.25*(\x)^3+-5.5*(\x)^2+40.25*(\x)+-95.0)/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.0*(\x)^3+-0.5*(\x)^2+7.0*(\x)+-21.5)/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] (4.,-2.)-- ++(-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.,3.)-- ++(-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}
