I used Geogebra to draw the graph of the function $y = 2x^2 - 4x$. This is my code
\documentclass[10pt]{article}
\usepackage{pstricks-add}
\pagestyle{empty}
\begin{document}
\psset{xunit=1.0cm,yunit=1.0cm,algebraic=true,dotstyle=o,dotsize=3pt 0,linewidth=0.8pt,arrowsize=3pt 2,arrowinset=0.25}
\begin{pspicture*}(-2,-2.44)(3.92,5)
\psaxes[labelFontSize=\scriptstyle,xAxis=true,yAxis=true,Dx=1,Dy=1,ticksize=-2pt 0,subticks=2]{->}(0,0)(-2,-2.44)(3.92,5)[,140] [y,-40]
\psplot[linewidth=1.6pt,plotpoints=200]{-2.0}{3.9165217391304363}{2*x²-4*x}
\psline[linewidth=1.6pt,linestyle=dashed,dash=3pt 3pt](1,-2)(1,0)
\psline[linewidth=1.6pt,linestyle=dashed,dash=2pt 2pt](1,-2)(0,-2)
\begin{scriptsize}
\psdots[dotstyle=*,linecolor=blue](1,-2)
\rput[bl](1.02,-1.93){\blue{$A$}}
\psdots[dotstyle=*,linecolor=blue](1,0)
\rput[bl](1.02,0.08){\blue{$B$}}
\psdots[dotstyle=*,linecolor=blue](0,-2)
\rput[bl](0.02,-1.93){\blue{$C$}}
\end{scriptsize}
\end{pspicture*}
\end{document}
I use Texmaker and compiler with keys F2 -> F4 ->F8 ->F7. But I got

How can I get correct picture?

