-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path20020708_Polarimetry.gp,v
224 lines (189 loc) · 6.41 KB
/
20020708_Polarimetry.gp,v
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
head 17.3;
access;
symbols;
locks
dan:17.3; strict;
comment @# @;
17.3
date 2020.09.24.14.56.54; author dan; state Exp;
branches;
next 17.2;
17.2
date 2020.09.23.15.25.32; author dan; state Exp;
branches;
next 17.1;
17.1
date 2003.03.14.23.03.53; author dan; state Exp;
branches;
next 9.2;
9.2
date 2003.01.11.02.12.07; author dan; state Exp;
branches;
next 9.1;
9.1
date 2002.09.28.19.29.04; author dan; state Exp;
branches;
next 8.1;
8.1
date 2002.09.15.14.45.16; author dan; state Exp;
branches;
next 7.1;
7.1
date 2002.09.13.11.26.29; author dan; state Exp;
branches;
next ;
desc
@20020708 data
@
17.3
log
@Further work to adapt to new Gnuplot syntax.
@
text
@# Copyright 2002 D. C. Hatton
#
# D. C. Hatton can be contacted on dan.hatton@@btinternet.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program (in the file copying.programs;) if not,
# write to the Free Software Foundation, Inc., 59 Temple Place, Suite
# 330, Boston, MA 02111-1307 USA
# This plots the data from 8th July 2002
set pointsize 0.01
set style data xyerrorbars
set key below
set size 1, 2
set terminal pslatex
set color
set xlabel "$I_b/\\ut{nA}$"
set ylabel "$f_d/\\ut{Hz}$"
set output '20020708_Polarimetry.tex'
plot '20020708_Polarimetry.dat' using 5:($2 < 1.5 ? $8 : 1/0):6:9 title 'Detector 1', '20020708_Polarimetry.dat' using 5:($2 >= 1.5 ? $8 : 1/0):6:9 title 'Detector 2'
set terminal png
set color
set xlabel "Ib/nA"
set ylabel "fd/Hz"
set output '20020708_Polarimetry.png'
plot '20020708_Polarimetry.dat' using 5:($2 < 1.5 ? $8 : 1/0):6:9 title 'Detector 1', '20020708_Polarimetry.dat' using 5:($2 >= 1.5 ? $8 : 1/0):6:9 title 'Detector 2'
@
17.2
log
@Syntax updated for newer Gnuplot versions.
@
text
@d26 2
a27 1
set terminal pslatex color
d34 2
a35 1
set terminal png color
@
17.1
log
@JACB's suggested amendments made.
Typographical errors corrected.
@
text
@d22 1
a22 1
set data style xyerrorbars
@
9.2
log
@Typographical errors corrected.
@
text
@d28 1
a28 1
set ylabel "$R_d/\\ut{Hz}$"
d35 1
a35 1
set ylabel "Rd/Hz"
@
9.1
log
@Early summer inference script changed to reflect differences
between this experiment and the autumn one.
More summer data graphs added.
@
text
@a20 2
#load 'postsummer.gp'
d24 1
a24 1
set size 1, 1.15
a38 14
set terminal pslatex color
set xlabel "$I_b/\\ut{nA}$"
set ylabel "$R_a/\\ut{Hz}$"
set output '20020708_perfect.tex'
#plot '20020708_Polarimetry.dat' using 5:($2 < 1.5 ? $0 < 29.5 ? $8/(P_0_0_0*eta_0) : $8/(P_0_1_0*eta_0) : 1/0):6:($0 < 29.5 ? $9/(P_0_0_0*eta_0) : $9/(P_0_1_0*eta_0)) title 'Detector 1', '20020708_Polarimetry.dat' using 5:($2 >= 1.5 ? $0 < 29.5 ? $8/(P_0_0_1*eta_1) : $8/(P_0_1_1*eta_1) : 1/0):6:($0 < 29.5 ? $9/(P_0_0_1*eta_1) : $9/(P_0_1_1*eta_1)) title 'Detector 2'
set terminal png color
set xlabel "Ib/nA"
set ylabel "Ha/Hz"
set output '20020708_perfect.png'
#plot '20020708_Polarimetry.dat' using 5:($2 < 1.5 ? $0 < 29.5 ? $8/(P_0_0_0*eta_0) : $8/(P_0_1_0*eta_0) : 1/0):6:($0 < 29.5 ? $9/(P_0_0_0*eta_0) : $9/(P_0_1_0*eta_0)) title 'Detector 1', '20020708_Polarimetry.dat' using 5:($2 >= 1.5 ? $0 < 29.5 ? $8/(P_0_0_1*eta_1) : $8/(P_0_1_1*eta_1) : 1/0):6:($0 < 29.5 ? $9/(P_0_0_1*eta_1) : $9/(P_0_1_1*eta_1)) title 'Detector 2'
@
8.1
log
@Inference script for summer 2002, non-UHV data added.
References to inferred parameters that are not yet ready commented out.
@
text
@d29 2
a30 2
set xlabel "$E_b/\\ut{eV}$"
set ylabel "$I_d/\\ut{fA}$"
d33 1
a33 1
plot '20020708_Polarimetry.dat' using 3:($2 < 1.5 ? $8 : 1/0):4:9 title 'Detector 1', '20020708_Polarimetry.dat' using 3:($2 >= 1.5 ? $8 : 1/0):4:9 title 'Detector 2'
d36 2
a37 2
set xlabel "Eb/eV"
set ylabel "Id/fA"
d40 1
a40 1
plot '20020708_Polarimetry.dat' using 3:($2 < 1.5 ? $8 : 1/0):4:9 title 'Detector 1', '20020708_Polarimetry.dat' using 3:($2 >= 1.5 ? $8 : 1/0):4:9 title 'Detector 2'
d43 2
a44 2
set xlabel "$E_b/\\ut{eV}$"
set ylabel "$I_a/\\ut{fA}$"
d47 1
a47 1
#plot '20020708_Polarimetry.dat' using 3:($2 < 1.5 ? $0 < 29.5 ? $8/(P_0_0_0*eta_0) : $8/(P_0_1_0*eta_0) : 1/0):4:($0 < 29.5 ? $9/(P_0_0_0*eta_0) : $9/(P_0_1_0*eta_0)) title 'Detector 1', '20020708_Polarimetry.dat' using 3:($2 >= 1.5 ? $0 < 29.5 ? $8/(P_0_0_1*eta_1) : $8/(P_0_1_1*eta_1) : 1/0):4:($0 < 29.5 ? $9/(P_0_0_1*eta_1) : $9/(P_0_1_1*eta_1)) title 'Detector 2'
d50 2
a51 2
set xlabel "Eb/eV"
set ylabel "Ia/fA"
d54 1
a54 1
#plot '20020708_Polarimetry.dat' using 3:($2 < 1.5 ? $0 < 29.5 ? $8/(P_0_0_0*eta_0) : $8/(P_0_1_0*eta_0) : 1/0):4:($0 < 29.5 ? $9/(P_0_0_0*eta_0) : $9/(P_0_1_0*eta_0)) title 'Detector 1', '20020708_Polarimetry.dat' using 3:($2 >= 1.5 ? $0 < 29.5 ? $8/(P_0_0_1*eta_1) : $8/(P_0_1_1*eta_1) : 1/0):4:($0 < 29.5 ? $9/(P_0_0_1*eta_1) : $9/(P_0_1_1*eta_1)) title 'Detector 2'
@
7.1
log
@Summer 2002 data added.
Facilities for graphing some summer 2002 data added.
@
text
@d21 1
a21 1
load 'postsummer.gp'
d33 1
a33 1
plot '20020708_Polarimetry.dat' using 3:($1 >= 0 && $2 < 1.5 ? $8 : 1/0):4:9 title 'Magnetization up, detector 1', '20020708_Polarimetry.dat' using 3:($1 >= 0 && $2 >= 1.5 ? $8 : 1/0):4:9 title 'Magnetization up, detector 2', '20020708_Polarimetry.dat' using 3:($1 < 0 && $2 < 1.5 ? $8 : 1/0):4:9 title 'Magnetization down, detector 1', '20020708_Polarimetry.dat' using 3:($1 < 0 && $2 >= 1.5 ? $8 : 1/0):4:9 title 'Magnetization down, detector 2'
d47 1
a47 1
plot '20020708_Polarimetry.dat' using 3:($2 < 1.5 ? $0 < 29.5 ? $8/(P_0_0_0*eta_0) : $8/(P_0_1_0*eta_0) : 1/0):4:($0 < 29.5 ? $9/(P_0_0_0*eta_0) : $9/(P_0_1_0*eta_0)) title 'Detector 1', '20020708_Polarimetry.dat' using 3:($2 >= 1.5 ? $0 < 29.5 ? $8/(P_0_0_1*eta_1) : $8/(P_0_1_1*eta_1) : 1/0):4:($0 < 29.5 ? $9/(P_0_0_1*eta_1) : $9/(P_0_1_1*eta_1)) title 'Detector 2'
d54 1
a54 1
plot '20020708_Polarimetry.dat' using 3:($2 < 1.5 ? $0 < 29.5 ? $8/(P_0_0_0*eta_0) : $8/(P_0_1_0*eta_0) : 1/0):4:($0 < 29.5 ? $9/(P_0_0_0*eta_0) : $9/(P_0_1_0*eta_0)) title 'Detector 1', '20020708_Polarimetry.dat' using 3:($2 >= 1.5 ? $0 < 29.5 ? $8/(P_0_0_1*eta_1) : $8/(P_0_1_1*eta_1) : 1/0):4:($0 < 29.5 ? $9/(P_0_0_1*eta_1) : $9/(P_0_1_1*eta_1)) title 'Detector 2'
@