-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplot_par_fixed.m
More file actions
49 lines (34 loc) · 796 Bytes
/
plot_par_fixed.m
File metadata and controls
49 lines (34 loc) · 796 Bytes
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
figure(7);
twop = 56;
for i = (twop+1):length(params)
par_avg(:,i) = mean(params(:,(i-twop):i),2);
end
nmin = 60;
nmax = 2000;
subplot(3,3,1);
plot(par_avg(1,nmin:nmax));
title('NDR bunch length');
subplot(3,3,2);
plot(par_avg(2,nmin:nmax));
title('NDR energy spread');
subplot(3,3,3);
plot(par_avg(3,nmin:nmax));
title('Number of particles');
subplot(3,3,4);
plot(par_avg(4,nmin:nmax));
title('NDR bunch asymmetry');
subplot(3,3,5);
plot(par_avg(5,nmin:nmax));
title('NRTL compressor amplitude');
subplot(3,3,6);
plot(par_avg(6,nmin:nmax));
title('NRTL compressor phase');
subplot(3,3,7);
plot(par_avg(7,nmin:nmax));
title('2-10 Phase');
subplot(3,3,8);
plot(par_avg(8,nmin:nmax));
title('11-20 Phase');
subplot(3,3,9);
plot(par_avg(9,nmin:nmax));
title('Phase Ramp');