-
Notifications
You must be signed in to change notification settings - Fork 1
/
SNR_schematic.tex
50 lines (36 loc) · 1.45 KB
/
SNR_schematic.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
\documentclass{standalone}
%\pagenumbering{gobble}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% schematic of SN blast wave
% big help from
% tex.stackexchange.com/questions/299999/shading-the-area-between-arcs-with-a-rainbow
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{tikz}
\usepackage[outline]{contour}
\usetikzlibrary{arrows, snakes, calc}
\usetikzlibrary{shapes.geometric}
%[draw options] (center) (initial angle:final angle:inner radius:outer radius)
\def\myarc[#1](#2)(#3:#4:#5:#6) {\draw[#1] ($(#2) + (#3:#5)$) arc (#3:#4:#5)
-- ($(#2) + (#4:#6)$) arc (#4:#3:#6) -- cycle;}
\begin{document}
\tikzset{
trans/.style={very thick, dashed,->,shorten >=2pt,shorten <=0pt,>=stealth},
photon/.style={very thick, ->, snake=snake, line after snake=1mm}
}
\begin{tikzpicture}[scale=1.0, font=\sffamily]
\myarc[fill=gray!30](0,0)(10:170:0:2.4)
\myarc[fill=gray!80, dotted](0,0)(10:170:2.3:3.1)
\myarc[fill=white, dashed](0,0)(10:170:3.1:6)
\myarc[fill=black](0,0)(10:170:3.1:3.25)
\node[star,star points=7,star point ratio=1.8, fill] at (0,0) {};
\node at (0,2.65) {\large{$\rho_2$}};
\node at (0,4.7) {\large{$\rho_1$}};
\node[rotate=0] at (1.35,0.0) {\large{$R$}};
\node[rotate=0] at (2.75,0.22) {\large{$\Delta R$}};
\draw[line width = 0.7mm, rotate=0, ->] (0,3.1) -- ++(0,0.7);
\draw[line width = 0.7mm, rotate=-45, ->] (0,3.1) -- ++(0,0.7);
\draw[line width = 0.7mm, rotate=45, ->] (0,3.1) -- ++(0,0.7);
\end{tikzpicture}
\end{document}