aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2022-08-16 17:16:27 +0200
committerNao Pross <np@0hm.ch>2022-08-16 17:18:37 +0200
commit1cd844f0459df9d264c5552047af320b378df8ba (patch)
tree32dfe238c3887bb7f51f6ee4e049502f281df1d0
parentMerge remote-tracking branch 'manuel/master' (diff)
downloadSeminarSpezielleFunktionen-1cd844f0459df9d264c5552047af320b378df8ba.tar.gz
SeminarSpezielleFunktionen-1cd844f0459df9d264c5552047af320b378df8ba.zip
kugel: Reorganize figures directory, add tikz spherical coordinates and flux
-rw-r--r--buch/papers/kugel/figures/flux.pdfbin0 -> 345665 bytes
-rw-r--r--buch/papers/kugel/figures/povray/Makefile (renamed from buch/papers/kugel/images/Makefile)0
-rw-r--r--buch/papers/kugel/figures/povray/curvature.maxima (renamed from buch/papers/kugel/images/curvature.maxima)0
-rw-r--r--buch/papers/kugel/figures/povray/curvature.pov (renamed from buch/papers/kugel/images/curvature.pov)0
-rw-r--r--buch/papers/kugel/figures/povray/curvgraph.m (renamed from buch/papers/kugel/images/curvgraph.m)0
-rw-r--r--buch/papers/kugel/figures/povray/spherecurve.cpp (renamed from buch/papers/kugel/images/spherecurve.cpp)0
-rw-r--r--buch/papers/kugel/figures/povray/spherecurve.m (renamed from buch/papers/kugel/images/spherecurve.m)0
-rw-r--r--buch/papers/kugel/figures/povray/spherecurve.maxima (renamed from buch/papers/kugel/images/spherecurve.maxima)0
-rw-r--r--buch/papers/kugel/figures/povray/spherecurve.pov (renamed from buch/papers/kugel/images/spherecurve.pov)0
-rw-r--r--buch/papers/kugel/figures/tikz/spherical-coordinates.pdfbin0 -> 5824 bytes
-rw-r--r--buch/papers/kugel/figures/tikz/spherical-coordinates.tex99
11 files changed, 99 insertions, 0 deletions
diff --git a/buch/papers/kugel/figures/flux.pdf b/buch/papers/kugel/figures/flux.pdf
new file mode 100644
index 0000000..6a87288
--- /dev/null
+++ b/buch/papers/kugel/figures/flux.pdf
Binary files differ
diff --git a/buch/papers/kugel/images/Makefile b/buch/papers/kugel/figures/povray/Makefile
index 4226dab..4226dab 100644
--- a/buch/papers/kugel/images/Makefile
+++ b/buch/papers/kugel/figures/povray/Makefile
diff --git a/buch/papers/kugel/images/curvature.maxima b/buch/papers/kugel/figures/povray/curvature.maxima
index 6313642..6313642 100644
--- a/buch/papers/kugel/images/curvature.maxima
+++ b/buch/papers/kugel/figures/povray/curvature.maxima
diff --git a/buch/papers/kugel/images/curvature.pov b/buch/papers/kugel/figures/povray/curvature.pov
index 3b15d77..3b15d77 100644
--- a/buch/papers/kugel/images/curvature.pov
+++ b/buch/papers/kugel/figures/povray/curvature.pov
diff --git a/buch/papers/kugel/images/curvgraph.m b/buch/papers/kugel/figures/povray/curvgraph.m
index 75effd6..75effd6 100644
--- a/buch/papers/kugel/images/curvgraph.m
+++ b/buch/papers/kugel/figures/povray/curvgraph.m
diff --git a/buch/papers/kugel/images/spherecurve.cpp b/buch/papers/kugel/figures/povray/spherecurve.cpp
index 8ddf5e5..8ddf5e5 100644
--- a/buch/papers/kugel/images/spherecurve.cpp
+++ b/buch/papers/kugel/figures/povray/spherecurve.cpp
diff --git a/buch/papers/kugel/images/spherecurve.m b/buch/papers/kugel/figures/povray/spherecurve.m
index 99d5c9a..99d5c9a 100644
--- a/buch/papers/kugel/images/spherecurve.m
+++ b/buch/papers/kugel/figures/povray/spherecurve.m
diff --git a/buch/papers/kugel/images/spherecurve.maxima b/buch/papers/kugel/figures/povray/spherecurve.maxima
index 1e9077c..1e9077c 100644
--- a/buch/papers/kugel/images/spherecurve.maxima
+++ b/buch/papers/kugel/figures/povray/spherecurve.maxima
diff --git a/buch/papers/kugel/images/spherecurve.pov b/buch/papers/kugel/figures/povray/spherecurve.pov
index b1bf4b8..b1bf4b8 100644
--- a/buch/papers/kugel/images/spherecurve.pov
+++ b/buch/papers/kugel/figures/povray/spherecurve.pov
diff --git a/buch/papers/kugel/figures/tikz/spherical-coordinates.pdf b/buch/papers/kugel/figures/tikz/spherical-coordinates.pdf
new file mode 100644
index 0000000..28f242e
--- /dev/null
+++ b/buch/papers/kugel/figures/tikz/spherical-coordinates.pdf
Binary files differ
diff --git a/buch/papers/kugel/figures/tikz/spherical-coordinates.tex b/buch/papers/kugel/figures/tikz/spherical-coordinates.tex
new file mode 100644
index 0000000..3a45385
--- /dev/null
+++ b/buch/papers/kugel/figures/tikz/spherical-coordinates.tex
@@ -0,0 +1,99 @@
+\documentclass[tikz]{standalone}
+\usepackage{amsmath}
+\usepackage{amssymb}
+\usepackage{bm}
+\usepackage{lmodern}
+\usepackage{tikz-3dplot}
+
+\usetikzlibrary{arrows}
+\usetikzlibrary{intersections}
+\usetikzlibrary{math}
+\usetikzlibrary{positioning}
+\usetikzlibrary{arrows.meta}
+\usetikzlibrary{shapes.misc}
+\usetikzlibrary{calc}
+
+\begin{document}
+
+\tdplotsetmaincoords{60}{130}
+\pgfmathsetmacro{\l}{2}
+
+\begin{tikzpicture}[
+ >=latex,
+ tdplot_main_coords,
+ dot/.style = {
+ black, fill = black, circle,
+ outer sep = 0, inner sep = 0,
+ minimum size = .8mm
+ },
+ round/.style = {
+ draw = orange, thick, circle,
+ minimum size = 1mm,
+ inner sep = 0pt, outer sep = 0pt,
+ },
+ cross/.style = {
+ cross out, draw = magenta, thick,
+ minimum size = 1mm,
+ inner sep = 0pt, outer sep = 0pt
+ },
+ ]
+
+ % origin
+ \coordinate (O) at (0,0,0);
+
+ % poles
+ \coordinate (NP) at (0,0,\l);
+ \coordinate (SP) at (0,0,-\l);
+
+ % \draw (SP) node[dot, gray] {};
+ % \draw (NP) node[dot, gray] {};
+
+ % gray unit circle
+ \tdplotdrawarc[gray]{(O)}{\l}{0}{360}{}{};
+ \draw[gray, dashed] (-\l, 0, 0) to (\l, 0, 0);
+ \draw[gray, dashed] (0, -\l, 0) to (0, \l, 0);
+
+ % axis
+ \draw[->] (O) -- ++(1.25*\l,0,0) node[left] {\(\mathbf{\hat{x}}\)};
+ \draw[->] (O) -- ++(0,1.25*\l,0) node[right] {\(\mathbf{\hat{y}}\)};
+ \draw[->] (O) -- ++(0,0,1.25*\l) node[above] {\(\mathbf{\hat{z}}\)};
+
+ % meridians
+ \foreach \phi in {0, 30, 60, ..., 150}{
+ \tdplotsetrotatedcoords{\phi}{90}{0};
+ \tdplotdrawarc[lightgray, densely dotted, tdplot_rotated_coords]{(O)}{\l}{0}{360}{}{};
+ }
+
+ % dot above and its projection
+ \pgfmathsetmacro{\phi}{120}
+ \pgfmathsetmacro{\theta}{40}
+
+ \pgfmathsetmacro{\px}{cos(\phi)*sin(\theta)*\l}
+ \pgfmathsetmacro{\py}{sin(\phi)*sin(\theta)*\l}
+ \pgfmathsetmacro{\pz}{cos(\theta)*\l})
+
+ % point A
+ \coordinate (A) at (\px,\py,\pz);
+ \coordinate (Ap) at (\px,\py, 0);
+
+ % lines
+ \draw[red!80!black, ->] (O) -- (A);
+ \draw[red!80!black, densely dashed] (O) -- (Ap) -- (A)
+ node[above right] {\(\mathbf{\hat{r}}\)};
+
+ % arcs
+ \tdplotdrawarc[blue!80!black, ->]{(O)}{.8\l}{0}{\phi}{}{};
+ \node[below right, blue!80!black] at (.8\l,0,0) {\(\bm{\hat{\varphi}}\)};
+
+ \tdplotsetrotatedcoords{\phi-90}{-90}{0};
+ \tdplotdrawarc[blue!80!black, ->, tdplot_rotated_coords]{(O)}{.95\l}{0}{\theta}{}{};
+ \node[above right = 1mm, blue!80!black] at (0,0,.8\l) {\(\bm{\hat{\vartheta}}\)};
+
+
+ % dots
+ \draw (O) node[dot] {};
+ \draw (A) node[dot, fill = red!80!black] {};
+
+\end{tikzpicture}
+\end{document}
+% vim:ts=2 sw=2 et: