Grafiken angepasst
This commit is contained in:
@@ -51,4 +51,17 @@ print (veka1.plus(veka2))
|
||||
|
||||
```python
|
||||
veka1 = Vector([0,5])
|
||||
```
|
||||
```
|
||||
|
||||
$\left[ {\begin{array}{*{20}{c}}
|
||||
7\\
|
||||
2
|
||||
\end{array}} \right] + \left[ {\begin{array}{*{20}{c}}
|
||||
-3\\
|
||||
2
|
||||
\end{array}} \right] = \left[ {\begin{array}{*{20}{c}}
|
||||
4\\
|
||||
4
|
||||
\end{array}} \right]$
|
||||
|
||||
<img src="vector_add_2.png" style="zoom:30%;" />
|
||||
@@ -1,41 +1,41 @@
|
||||
\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=-0.5,
|
||||
xmax=6.5,
|
||||
ymin=-0.25,
|
||||
ymax=6.6,
|
||||
xtick={-4,-3,...,6},
|
||||
ytick={0,...,6},]
|
||||
\clip(-4.66270591911281,-2.4761462907710943) rectangle (11.894647164540304,7.830725732214009);
|
||||
\draw [-latex,line width=1pt, color=red] (0,0) -- (5,2);
|
||||
\draw [-latex,line width=1pt, color=blue] (0,0) -- (1,4);
|
||||
|
||||
\draw [-latex,line width=1pt, color=red, dashed] (1,4) -- (6,6);
|
||||
\draw [-latex,line width=1pt, color=blue, dashed] (5,2) -- (6,6);
|
||||
\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=-0.5,
|
||||
xmax=6.5,
|
||||
ymin=-0.25,
|
||||
ymax=6.6,
|
||||
xtick={-4,-3,...,6},
|
||||
ytick={0,...,6},]
|
||||
\clip(-4.66270591911281,-2.4761462907710943) rectangle (11.894647164540304,7.830725732214009);
|
||||
\draw [-latex,line width=1pt, color=red] (0,0) -- (5,2);
|
||||
\draw [-latex,line width=1pt, color=blue] (0,0) -- (1,4);
|
||||
|
||||
\draw [-latex,line width=1pt, color=red, dashed] (1,4) -- (6,6);
|
||||
\draw [-latex,line width=1pt, color=blue, dashed] (5,2) -- (6,6);
|
||||
|
||||
\draw [-latex,line width=2pt, color=orange] (0,0) -- (6,6);
|
||||
|
||||
\begin{scriptsize}
|
||||
\draw[color=red] (2.5189255735382816,1.3) node {$\overrightarrow{x}$};
|
||||
\draw[color=blue] (0.25,2.142145794294401) node {$\overrightarrow{y}$};
|
||||
\draw[color=orange] (2.4,3.158919254505808) node {$\overrightarrow{x+y}$};
|
||||
\draw[color=red] (3.524996155221147,5.3) node {$\overrightarrow{x'\;\,}$};
|
||||
\draw[color=blue] (5.9,4) node {$\overrightarrow{y'\;\,}$};
|
||||
\end{scriptsize}
|
||||
\end{axis}
|
||||
\end{tikzpicture}
|
||||
\begin{scriptsize}
|
||||
\draw[color=red] (2.5189255735382816,1.3) node {$\overrightarrow{x}$};
|
||||
\draw[color=blue] (0.25,2.142145794294401) node {$\overrightarrow{y}$};
|
||||
\draw[color=orange] (2.4,3.158919254505808) node {$\overrightarrow{x+y}$};
|
||||
\draw[color=red] (3.524996155221147,5.3) node {$\overrightarrow{x'\;\,}$};
|
||||
\draw[color=blue] (5.9,4) node {$\overrightarrow{y'\;\,}$};
|
||||
\end{scriptsize}
|
||||
\end{axis}
|
||||
\end{tikzpicture}
|
||||
\end{document}
|
||||
@@ -5,7 +5,7 @@
|
||||
\usetikzlibrary{arrows}
|
||||
\pagestyle{empty}
|
||||
\begin{document}
|
||||
\definecolor{uuuuuu}{rgb}{0.26666666666666666,0.26666666666666666,0.26666666666666666}
|
||||
|
||||
\begin{tikzpicture}[x=1cm,y=1cm]
|
||||
\begin{axis}[
|
||||
x=1cm,y=1cm,
|
||||
@@ -19,19 +19,19 @@ ymax=4.5,
|
||||
xtick={-3,...,7},
|
||||
ytick={-3,-2,...,6},]
|
||||
\clip(-3.5301370701590713,-3.410207869386736) rectangle (7.701311755516924,6.144461052102637);
|
||||
\draw [-latex,line width=1pt,color=blue] (0,0) -- (7,2);
|
||||
\draw [-latex,color=red,line width=1pt] (0,0) -- (-3,2);
|
||||
\draw [-latex,line width=2pt,color=orange] (0,0) -- (4,4);
|
||||
\draw [-latex,line width=1pt,color=blue,dashed] (-3,2) -- (4,4);
|
||||
\draw [-latex,line width=1pt] (0,0) -- (7,2);
|
||||
\draw [-latex,line width=1pt] (0,0) -- (-3,2);
|
||||
\draw [-latex,line width=2pt,color=blue] (0,0) -- (4,4);
|
||||
\draw [-latex,line width=1pt,color=red,dashed] (-3,2) -- (4,4);
|
||||
\draw [-latex,line width=1pt,color=red,dashed] (7,2) -- (4,4);
|
||||
\begin{scriptsize}
|
||||
|
||||
|
||||
\draw[color=blue] (3.5242446569218764,1.3) node {$\overrightarrow{y}$};
|
||||
\draw[color=black] (-1.4862515064759836,1.0793951285093604) node {$v$};
|
||||
\draw[color=black] (2.0062131460310395,2.150946783255832) node {$w$};
|
||||
\draw[color=blue] (0.5278687334641462,3.3) node {$\overrightarrow{y'}$};
|
||||
\draw[color=black] (5.5085995731190485,3.083593593868502) node {$b$};
|
||||
\draw[] (-2.2,1.08) node {$\overrightarrow{x}$};
|
||||
\draw[color=blue] (1.4,2.151) node {$\overrightarrow{x+y}$};
|
||||
\draw[color=red] (0.5278687334641462,3.3) node {$\overrightarrow{y'}$};
|
||||
\draw[color=red] (5.2,2.8) node {$\overrightarrow{x}'$};
|
||||
\end{scriptsize}
|
||||
\end{axis}
|
||||
\end{tikzpicture}
|
||||
|
||||
BIN
vector_add_2.png
Normal file
BIN
vector_add_2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 36 KiB |
Reference in New Issue
Block a user