2

I try to use the command \tkzDefPointByFct in the following example but it gives several errors:

\documentclass[tikz]{standalone}
\usepackage{tikz}

\usepackage{tkz-fct}



\begin{document}

    \begin{tikzpicture}

        \tkzInit[xmin=-2.5,xmax=4.3,ymin=-3.5,ymax=1.5]
        \tkzGrid[color=gray!60]
        \tkzAxeXY[font=\small]

        \tkzFct[domain=-2.5:4,line width=1.5pt]{(-(x+2)*(x-3)**2/4))}

        \tkzDefPointByFct[draw](2)
    \end{tikzpicture}


\end{document}

The errors are:

! FP error: Evaluation results in multiple values!.

! Undefined control sequence.\tkzDefPointByFct[draw](2)

! I don't know how to \FP@upn[].\tkzDefPointByFct[draw](2)

This problem seems to be similar to this question "Strange behavior using tkz-fct", but I tried the solution and it didn't work.

naphaneal
  • 2,614
Pablo
  • 21

0 Answers0