-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtutorial.tex
More file actions
98 lines (81 loc) · 3.03 KB
/
Copy pathtutorial.tex
File metadata and controls
98 lines (81 loc) · 3.03 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
\documentclass[
tikz,
border=3pt,
]{standalone}
\usepackage{cbc_frames_tikz}
\begin{document}
% -- Let's create the exact same picture in different ways
% -- V1: Using sub-families
\begin{tikzpicture}
\drawframes[%
binary={
eccentricity=0.5,
},
distance={
value=4,
show=false,
},
angles={
inclination=16,
polarization=60,
polarization={value=60, show=false},
longascnodes=16,
phiref=20,
ra=-110,
dec=16,
},
earth={
radius=1.4,
},
% -- In case you want to show a specific azimuthal angle, enable the following:
signalframe={azimuthalangle=true},
% -- To adjust labels, use the following
labels={
omega={$\Omega = \pi/2 + longAscNodes$}, % Unfortunately, \mathrm{longAscNodes} throws error
},
];
\node[text width=12cm, align=center] at (-4,-2) {Comparison Of All Frames: Celestial Frame $(x'')^\mu$, Signal Frame $(x')^\mu$, Source Frame $x^\mu$.};
\end{tikzpicture}
% -- V2: Accessing sub-family keys directly, using the pgfkeys logic that allows passing to a sub-family by passing "/subfamily/key=value"
\begin{tikzpicture}
\drawframes[%
distance/value=4,
distance/show=false,
binary/eccentricity=0.5,
angles/inclination=16, % Equivalent: inclination/value=16
angles/polarization=60, % Equivalent: polarization/value=60
angles/longascnodes=16, % Equivalent: longascnodes/value=16
phiref/value=20, % Equivalent: angles/phiref=20
ra/value=-110, % Equivalent: angles/ra=-110
dec/value=16, % Equivalent: angles/dec=16
polarization/show=false, % angles/polarization/show=false does not work
earth=1.4,
% -- In case you want to show a specific azimuthal angle, enable the following:
signalframe/azimuthalangle=true,
% -- To adjust labels, use the following
labels/omega={$\Omega = \pi/2 + longAscNodes$}, % Unfortunately, \mathrm{longAscNodes} throws error. Equivalent: longascnodes/omegalabel={$\Omega = \pi/2 + longAscNodes$}
];
\node[text width=12cm, align=center] at (-4,-2) {Comparison Of All Frames: Celestial Frame $(x'')^\mu$, Signal Frame $(x')^\mu$, Source Frame $x^\mu$.};
\end{tikzpicture}
% -- V3: Passing keys directly, when possible (using V1 elsewhere)
\begin{tikzpicture}
\drawframes[%
distance=4,
distance/show=false,
eccentricity=0.5,
inclination=16,
polarization=60,
polarization/show=false,
longascnodes=16,
phiref=20,
ra=-110,
dec=16,
earth=1.4,
% -- In case you want to show a specific azimuthal angle, enable the following:
azimuthalangle=true,
% -- To adjust labels, use the following
longascnodes/omegalabel={$\Omega = \pi/2 + longAscNodes$}, % Unfortunately, \mathrm{longAscNodes} throws error
];
\node[text width=12cm, align=center] at (-4,-2) {Comparison Of All Frames: Celestial Frame $(x'')^\mu$, Signal Frame $(x')^\mu$, Source Frame $x^\mu$.};
\end{tikzpicture}
\end{document}