Files
linearalgebrarefresher/Vektor_add_1.tex
2020-11-08 13:49:20 +01:00

50 lines
2.1 KiB
TeX

\documentclass[10pt]{article}
\usepackage{pgf,tikz,pgfplots}
\pgfplotsset{compat=1.15}
\usepackage{mathrsfs}
\usetikzlibrary{arrows}
\pagestyle{empty}
\begin{document}
\definecolor{xdxdff}{rgb}{0.49019607843137253,0.49019607843137253,1}
\definecolor{ududff}{rgb}{0.30196078431372547,0.30196078431372547,1}
\definecolor{uuuuuu}{rgb}{0.26666666666666666,0.26666666666666666,0.26666666666666666}
\begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=1cm,y=1cm]
\begin{axis}[
x=1cm,y=1cm,
axis lines=middle,
ymajorgrids=true,
xmajorgrids=true,
xmin=-4.66270591911281,
xmax=11.894647164540304,
ymin=-2.4761462907710943,
ymax=7.830725732214009,
xtick={-4,-3,...,11},
ytick={-2,-1,...,7},]
\clip(-4.66270591911281,-2.4761462907710943) rectangle (11.894647164540304,7.830725732214009);
\draw [->,line width=2pt] (0,0) -- (5,2);
\draw [->,line width=2pt] (0,0) -- (1,4);
\draw [->,line width=2pt] (0,0) -- (5,2);
\draw [->,line width=2pt] (0,0) -- (6,6);
\draw [->,line width=2pt] (1,4) -- (6,6);
\draw [->,line width=2pt] (5,2) -- (6,6);
\begin{scriptsize}
\draw [fill=uuuuuu] (0,0) circle (2pt);
\draw[color=uuuuuu] (0.08937214755944764,0.20492478062845743) node {$A$};
\draw [fill=ududff] (5,2) circle (2.5pt);
\draw[color=ududff] (5.08761642038815,2.22776882252273) node {$B$};
\draw[color=black] (2.5189255735382816,1.1681838481971587) node {$u$};
\draw [fill=ududff] (1,4) circle (2.5pt);
\draw[color=ududff] (1.0847398507137718,4.22920710735992) node {$C$};
\draw[color=black] (0.49608153164401014,2.142145794294401) node {$v$};
\draw [fill=ududff] (5,2) circle (2.5pt);
\draw[color=ududff] (5.119725055973774,2.2598774581083534) node {$B_1$};
\draw[color=black] (2.551034209123905,1.2002924837827822) node {$u_1$};
\draw[color=black] (3.000555107322632,3.158919254505808) node {$w$};
\draw [fill=xdxdff] (6,6) circle (2.5pt);
\draw[color=xdxdff] (6.082984123542475,6.23064539219711) node {$D$};
\draw[color=black] (3.524996155221147,5.171060417871539) node {$a$};
\draw[color=black] (5.494325804472712,4.143584079131591) node {$b$};
\end{scriptsize}
\end{axis}
\end{tikzpicture}
\end{document}