-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSpaceStudyCloseDouble.m
83 lines (59 loc) · 2.13 KB
/
SpaceStudyCloseDouble.m
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
y_1 = [0.82,
0.52,
0.61,
0.35,
0.32,
0.29,
0.28,
0.35,
0.35,
0.4,
0.38,
0.4,
0.37];
x_1 = [0.125,
0.175,
0.25,
0.3,
0.375,
0.425,
0.5,
0.55,
0.625,
0.675,
0.75,
0.875,
1];
%x_2 = [0,
%5,
%11,
%13,
%17,
%24];
%plot(x_1, y_1, 'Marker','o', 'MarkerSize',7, 'LineWidth', 1.5, 'color','magenta');
plot(x_1, y_1, 'Marker','o', 'MarkerSize',7, 'MarkerFaceColor', 'magenta', 'LineWidth', 1.5, 'color','magenta');
%legend({'Finite Element (Frequency=20Hz)'}, 'FontSize',10, 'TextColor','black')
hold on
%plot(x_1, y_2, 'Marker','*', 'MarkerSize',7, 'MarkerFaceColor', 'blue', 'LineWidth', 1.5, 'color','blue');
%legend({'Finite Element (Frequency=35Hz)'}, 'FontSize',10, 'TextColor','black')
%plot(x_1, y_3, 'Marker','square', 'MarkerSize',7, 'MarkerFaceColor', 'green', 'LineWidth', 1.5, 'color','green');
%plot(x_1, y_4, 'Marker','x', 'MarkerSize',7, 'MarkerFaceColor', 'black', 'LineWidth', 1.5, 'color','black');
%plot(x_1, y_5, 'Marker','diamond', 'MarkerSize',7, 'MarkerFaceColor', 'red', 'LineWidth', 1.5, 'color','red');
%scatter(x_2, y_3, 80, 'Marker','o', 'MarkerEdgeColor','red', 'MarkerFaceColor','red')
%set(gca,'yscale','log')
%legend({'Field Test (Frequency=20Hz)'}, 'FontSize',10, 'TextColor','black')
%plot(x_1, y_6, 'Marker','+', 'MarkerSize',7, 'MarkerFaceColor', 'cyan', 'LineWidth', 1.5, 'color','cyan');
%plot(x_1, y_7, 'Marker','Hexagram', 'MarkerSize',7, 'MarkerFaceColor', 'yellow', 'LineWidth', 1.5, 'color','yellow');
%scatter(x_2, y_4, 80, 'Marker','s', 'MarkerEdgeColor','black', 'MarkerFaceColor','black')
%set(gca,'yscale','log')
%legend({'Field Test (Frequency=35Hz)'}, 'FontSize',10, 'TextColor','black')
%legend({'D = 0.5','D = 0.75','D = 1','D = 1.25','D = 1.5','D = 1.75','D = 2'},'FontSize',15, 'FontName','Times New Roman')
ylim([0, 1])
xlim([0, 1.125])
ax = gca;
set(gca,'XTick',0.125:0.15:1.025)
%set(gca, 'YScale', 'log')
xlabel('Normalized Space Between the Trenches (S = s/\lambda_r)', 'FontSize',15, 'FontName','Times New Roman')
ylabel('Average Amplitude Reduction Ratio', 'FontSize',15, 'FontName','Times New Roman')
grid on
hold off