\documentclass[10pt]{article}
\usepackage{pgf,tikz,pgfplots}
\pgfplotsset{compat=1.16}
\usepackage{mathrsfs}
\usetikzlibrary{arrows}
\pagestyle{empty}

\begin{document}


\begin{tikzpicture}[x=1cm,y=1cm]

\begin{axis}[
x=1cm,y=1cm,
axis lines=middle,
ymajorgrids=true,
xmajorgrids=true,
xmin=-1.4889190764182563,
xmax=9.29392311219538,
ymin=-2.7120035219099305,
ymax=6.461032721583817,
xtick={-1,-0.5,...,9},
ytick={-2.5,-2,...,6},]

\clip(-1.4889190764182563,-2.7120035219099305) rectangle (9.29392311219538,6.461032721583817);

\draw [-latex,line width=2pt] (0,0) -- (4,1);
\draw [-latex,line width=2pt,color=red] (0,0) -- (2,3);
\draw [-latex,line width=1.2pt,dash pattern=on 1pt off 1pt,color=orange] (4,1) -- (6,4);
\draw [-latex,line width=1.2pt,dash pattern=on 1pt off 1pt,color=orange] (2,3) -- (6,4);
\draw [color=blue,-latex,line width=2pt] (0,0) -- (6,4);
\begin{scriptsize}

\draw[color=orange] (0.07325947387559195,0.1885048229954136) node {$A$};
\draw[color=black] (2.949954121367923,2.350788548097263) node {$u$};
\draw[color=black] (2.273645114838269,0.845762871594654) node {$v$};
\draw[color=red] (0.8067213541964842,1.7697343312196734) node {$w$};
\draw[color=orange] (5.350374820599933,2.5603490853318034) node {$a$};
\draw[color=orange] (4.073960639262277,3.8558142245998717) node {$b$};
\end{scriptsize}
\end{axis}
\end{tikzpicture}
\end{document}