diff options
author | Joshua Baer <joshua.baer@ost.ch> | 2022-08-16 10:28:39 +0200 |
---|---|---|
committer | Joshua Baer <joshua.baer@ost.ch> | 2022-08-16 10:28:39 +0200 |
commit | f3fc1867221ab08c20cbb3f21663e89a10526dcb (patch) | |
tree | 49ca3a3a863f57f2ea69025ed493ba6f35d12c36 /buch/papers/lambertw/Bilder/Strategie.py | |
parent | signal m draw (diff) | |
parent | fix a typo (diff) | |
download | SeminarSpezielleFunktionen-f3fc1867221ab08c20cbb3f21663e89a10526dcb.tar.gz SeminarSpezielleFunktionen-f3fc1867221ab08c20cbb3f21663e89a10526dcb.zip |
Merge branch 'master' of github.com:JODBaer/SeminarSpezielleFunktionen
Diffstat (limited to '')
-rw-r--r-- | buch/papers/lambertw/Bilder/Strategie.py | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/buch/papers/lambertw/Bilder/Strategie.py b/buch/papers/lambertw/Bilder/Strategie.py index b9b41bf..f09edfb 100644 --- a/buch/papers/lambertw/Bilder/Strategie.py +++ b/buch/papers/lambertw/Bilder/Strategie.py @@ -9,6 +9,9 @@ import pylatex import numpy as np import matplotlib.pyplot as plt + + + N = np.array([0, 0]) V = np.array([1, 4]) Z = np.array([5, 5]) @@ -35,7 +38,9 @@ ax.quiver(X, Y, U, W, angles='xy', scale_units='xy', scale=1, headwidth=5, headl ax.plot([V[0], (VZ+V)[0]], [V[1], (VZ+V)[1]], 'k--') ax.plot(np.vstack([V, Z])[:, 0], np.vstack([V, Z])[:,1], 'bo', markersize=10) - +ax.tick_params(labelsize=15) +plt.xticks(ticks=range(0, 7)) +plt.yticks(ticks=range(0, 7)) ax.text(2.5, 4.5, "Visierlinie", size=20, rotation=10) plt.rcParams.update({ @@ -44,9 +49,10 @@ plt.rcParams.update({ "font.serif": ["New Century Schoolbook"], }) -ax.text(1.6, 4.3, r"$\vec{v}$", size=30) -ax.text(0.6, 3.9, r"$V$", size=30, c='b') -ax.text(5.1, 4.77, r"$Z$", size=30, c='b') - +ax.text(1.6, 4.3, r"$\dot{v}$", size=20) +ax.text(0.65, 3.9, r"$V$", size=20, c='b') +ax.text(5.15, 4.85, r"$Z$", size=20, c='b') +ax.set_xlabel(r"$x$", size=20) +ax.set_ylabel(r"$y$", size=20) |