-
Notifications
You must be signed in to change notification settings - Fork 1
/
disk.tex
53 lines (38 loc) · 1.71 KB
/
disk.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
51
52
53
\documentclass{standalone}
%\pagenumbering{gobble}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% two layer infall model
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{tikz,xcolor}
\usetikzlibrary{arrows,snakes}
\usetikzlibrary{shapes.geometric}
\usetikzlibrary{backgrounds}
\usetikzlibrary{arrows.meta}
\tikzset{partial ellipse/.style args={#1:#2:#3}{insert path={+ (#1:#3) arc (#1:#2:#3)}}}
\tikzset{photon/.style={->, snake=snake, line after snake=1mm}}
\begin{document}
%\tikzstyle{background grid}=[draw, black!30,step=.5cm]
%\begin{tikzpicture}[scale=1.0, font=\sffamily, show background grid]
\begin{tikzpicture}[scale=1.0, font=\sffamily]
% disk
\draw[line width=0.6mm, dashed] (0,0) ellipse (15 and 5);
\draw[line width=0.6mm, dashed] (0,0) [partial ellipse=50:-230:3 and 1];
% annulus
\fill[gray!40, even odd rule] (0,0) circle (10 and 3.333) (0,0) ellipse (9 and 3);
%\fill[gray!80] (10,-0.5) -- (10,0.5) -- (9,0.5) -- (9,-0.5);
% star
\draw[line width=1.2mm] (0,0) circle (2);
\draw[photon] (0,2) -- (9.2,0.15);
% annotation
\draw[thick, arrows={Triangle[angle=60:7pt]-Triangle[angle=60:7pt]}] (0,0) -- (9.5,0);
\node[align=center] at (4.5,-0.4) {\huge{$R$}};
\draw[thick, arrows={Triangle[angle=60:7pt]-Triangle[angle=60:7pt]}] (8.95,-0.3) -- (9.95,-0.3);
\node[align=center] at (9.4,-0.7) {\Large{$\Delta R$}};
\draw[thick, arrows={Triangle[angle=60:7pt]-Triangle[angle=60:7pt]}] (0,0.05) -- (0,1.9);
\node[align=center] at (-0.5,1) {\huge{$R_\ast$}};
\node[align=right] at (-3,-0.9) {\huge{$R_{min}$}};
\node[align=right] at (-12.5,-3.4) {\huge{$R_{max}$}};
\node[align=right] at (7.25,0.25) {\Large{$\theta$}};
\draw[thick, dotted] (6.9,0) arc (180:165:2);
\end{tikzpicture}
\end{document}