source: ETALON/THZ_filters/Experiment results/MakePlots.m @ 733

Last change on this file since 733 was 733, checked in by hodnevuc, 7 years ago
File size: 4.1 KB
Line 
1%%plots
2close all; clear all; clc
3figure(2)
4hold on
5
6load smallFc.mat
7plot(nu_filter*1e-9,F24i,'-.ok','linew',2,'MarkerFaceColor','k')
8load smallF.mat
9plot(nu_filter*1e-9,F24i,'-.ob','linew',2,'MarkerFaceColor','b')
10F0=[350 230 180 104 60 24]/438;
11% plot(nu_filter*1e-9,F0,'-or','linew',2)
12
13F37=[79.2 119.3 85.7 93.2 79.4 88 89.7 81.8];
14F53=[40.7 38.5 51.2 48.3 47.1 34.6 47.5 53.5];
15F75=[42.3 23.6 45.6 22.2 30.9 15.2 29.8 25.4];
16F124=[18.5 8.18 17.4 16.7 6.15 9.84 7.0 7.5];
17F186=[7.8 11.4 9.5 6.4 4.8 4.1 4.9 4.5 ];
18F368=[11.03 3.57 5.36 5.7 7.1 2.53 4.5 2.3];
19Frame=[95.8 92.5 92.7 92.05 92 92.1];
20Fx=[mean(F37) mean(F53) mean(F75) mean(F124) mean(F186) mean(F368)]./mean(Frame);
21eFx=[std(F37) std(F53) std(F75) std(F124) std(F186) std(F368)]./mean(Frame);
22errorbar(nu_filter*1e-9,Fx,eFx,'^r','linew',2)
23grid on
24set(gca,'fontsize',16)
25xlabel('Frequency, [GHz]')
26ylabel('Transmissivity, [1]')
27 legend('Calc. Z_0=2.3', 'Calc. Z_0=1.9','Exp. data')
28grid on
29title('24GHz source')
30
31figure(3)
32hold on
33
34load smallFc.mat
35plot(nu_filter*1e-9,F35i,'-.ok','MarkerFaceColor','k','linew',2)
36load smallF.mat
37plot(nu_filter*1e-9,F35i,'-.ob','MarkerFaceColor','b','linew',2)
38
39% F0=[224 122 88 40 19.8 5.12]/215;
40% plot(nu_filter*1e-9,F0,'-or','linew',2)
41
42F37=[74.9 74.4 81.33 83.06 75.6 83.3 90.74 80.42 79.78 75.7];
43F53=[63.8 58.6 61.2 57.2 69.7 50.2 94.4 52.01 88.2 54.73];
44F75=[51.5 35.7 47.13 43.57 53.47 30.16 64.12 41.9 52.5 35.53];
45F124=[33.1 10.79 11.06 24.49 11.35 17.22 12.3 25 14.7 21.6];
46F186=[11.38 4.3 9.15 21.64 7.89 6.7 10.3 24.4 13 25.3];
47F368=[2.6 0.5 0.9 2.12 2.24 2.3 2.8 1.26 7.17 1.68];
48Frame=[74.5 72.6 73.1 72.8 73.56 74.2 74.1];
49Fx=[mean(F37) mean(F53) mean(F75) mean(F124) mean(F186) mean(F368)]./mean(Frame);
50eFx=[std(F37) std(F53) std(F75) std(F124) std(F186) std(F368)]./mean(Frame);
51
52errorbar(nu_filter*1e-9,Fx,eFx,'^r','linew',2)
53grid on
54set(gca,'fontsize',16)
55xlabel('Frequency, [GHz]')
56ylabel('Transmissivity, [1]')
57 legend('Calc. Z_0=2.3', 'Calc. Z_0=1.9','Exp. data')
58title('35GHz source')
59load bigF.mat
60
61
62
63figure(4)
64plot(nu_filter*1e-9,F24i,'-ok','linew',2)
65nu_f0=[37 53 75 124 186 368];
66F=[416 368 364 390 420 422 382 352 328]/438;
67F0=[350 230 180 104 60 24]/438;
68
69% Freq=[20 23 24 25 26 27 30 40 50];
70% Vpp0=[116.8 124.0 120.0 126.4 133.6 124.8 115.2 100 97.6]./[153.6 150.4 148.8 147.2 145.2 145.6 144.8 144.8 143.2];
71hold on
72% plot(Freq,Vpp0,'-ok')
73% plot(Freq,F,'-og')
74% % plot(nu_f0,F0,'-or')
75% ylim([0 1])
76F20=[89.1 84.8 83.2 81.2];
77F23=[72 71.4 70.3 72];
78F24=[67.7 71 70.5 72.7 ];
79F25=[74.5 74.6 74.2 74.2 ];
80F26=[81.7 82 81 82.4];
81F27=[88 84.2 87.8 88.5];
82F30=[77.6 77.4 76.6 79.7];
83F40=[61.3 60.21 60.9 62];
84F50=[66.2 66 67.3 66];
85Frame=[94.3 93.8 93 92.3 93.7 93.2 93.1];
86Fx=[mean(F20) mean(F23) mean(F24) mean(F25) mean(F26) mean(F27) mean(F30) mean(F40) mean(F50)]./mean(Frame);
87eFx=[std(F20) std(F23) std(F24) std(F25) std(F26) std(F27) std(F30) std(F40) std(F50)]./mean(Frame);
88errorbar(nu_filter*1e-9,Fx,eFx,'-.^r','linew',2)
89grid on
90set(gca,'fontsize',16)
91xlabel('Frequency, [GHz]')
92ylabel('Transmissivity, [1]')
93 legend('Prediction', 'Experiment','location','southeast')
94title('24GHz source')
95load bigF.mat
96ylim([0 1])
97
98
99figure(5)
100plot(nu_filter*1e-9,F35i,'-ok','linew',2)
101% Vpp3=[112.8 108.8 111.2 107.2 108.0 112.8 107.2 117.6 118.4]./[122.4 121.6 120.8 120.0 120.0 120.0 120.0 119.2 119.2];
102% Vpp4=[260 240 240 230 238 212 192 246 252]/226
103 hold on
104% plot(Freq,Vpp4,'-or')
105% plot(Freq,Vpp3,'-ok')
106F20=[94.7 95.4 96.2 94.2 ];
107F23=[ 90.3 93.3 87 86.6 ];
108F24=[ 87.6 91.6 88.4 89.5 ];
109F25=[87.7 88 88.3 87.5];
110F26=[85.2 83.9 83.1 84.6];
111F27=[84.9 83 80.5 77.3];
112F30=[82.6 82 83.3 85.5];
113F40=[87 89.5 89.2 88];
114F50=[91.4 94.2 94.8 90.7];
115Frame=[96.3 93.3 92.7 92 91.8 91.6 91 91.2];
116Fx=[mean(F20) mean(F23) mean(F24) mean(F25) mean(F26) mean(F27) mean(F30) mean(F40) mean(F50)]./mean(Frame);
117eFx=[std(F20) std(F23) std(F24) std(F25) std(F26) std(F27) std(F30) std(F40) std(F50)]./mean(Frame);
118errorbar(nu_filter*1e-9,Fx,eFx,'-.^r','linew',2)
119grid on
120set(gca,'fontsize',16)
121xlabel('Frequency, [GHz]')
122ylabel('Transmissivity, [1]')
123 legend('Prediction', 'Experiment','location','southeast')
124title('35GHz source')
125ylim([0 1.1])
Note: See TracBrowser for help on using the repository browser.