Created
May 15, 2018 21:41
-
-
Save TorbjornT/b0b26add1c44b16a79bd7d37c4e991dc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage{tikz} | |
\usetikzlibrary{arrows.meta} | |
\begin{document} | |
\begin{center} | |
\begin{tikzpicture}[ | |
myaxis/.style={ | |
line width = 1pt, -{Stealth[length=3mm]} | |
}, | |
myarrow/.style={ | |
|-{Stealth[length=3mm]}, line width=0.8pt | |
} | |
] | |
\coordinate (origo) at (0,0); | |
\coordinate (origos) at (7,0); | |
\draw[myaxis] (origo) -- (3.3,0) node[below]{$x$}; | |
\draw[myaxis] (origo) -- (0,3.3) node[left]{$y$}; | |
\draw[myaxis] (origo) -- (-2,-1.7) node[below]{$z$}; | |
\node at (0.5,3.3) {\textsf{S}}; | |
\draw[myaxis] (origos) -- +(3.3,0) node[below]{$x'$}; | |
\draw[myaxis] (origos) -- +(0,3.3) node[left]{$y'$}; | |
\draw[myaxis] (origos) -- +(-2,-1.7) node[below]{$z'$}; | |
\path (origos) +(0.5,3.3) node {\textsf{S}$^{\prime}$}; | |
\draw[-{Stealth[length=3mm]}, line width=0.8pt](5.5,2.2) -- (8.5,2.2) node[right]{$v$}; | |
\coordinate (sun) at (11,2.2); | |
\fill[black] (sun) circle (4pt); | |
\foreach \angle in {0,20,...,359} | |
\draw [thick] (sun) ++(\angle:5pt) -- ++(\angle:3pt); | |
\node at (11,3) {\small \textsf{Begivenhed}}; | |
\node [align=left,right=14pt] at (sun) {% | |
\small $(t, \, x, \, y, \, z)$ \\[5pt] | |
$(t', \, x', \, y', \, z')$ | |
}; | |
\draw[myarrow] (0.2,1.4) -- (6.8,1.4) node[above] at (3.5,1.4) {$vt$}; | |
\draw[myarrow] (7.2,1.4) -- (11,1.4) node[above] at (9.1,1.4) {$x^{\prime}$}; | |
\draw[myarrow] (0.2,0.8) -- (11,0.8) node[above] at (5.6,0.76) {$x$}; | |
\end{tikzpicture} | |
\end{center} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment