Skip to content
Snippets Groups Projects
Commit 559fbbab authored by lmaresz's avatar lmaresz
Browse files

Plot fix pt3

parent 319c9049
No related branches found
No related tags found
No related merge requests found
...@@ -32,15 +32,16 @@ classdef BalazsAperture < Aperture ...@@ -32,15 +32,16 @@ classdef BalazsAperture < Aperture
subplot(2,1,1); subplot(2,1,1);
stem(x, abs(histogram),'MarkerSize',0.001); stem(x, abs(histogram),'MarkerSize',0.001);
title("Apertúrán áthaladó sugarak száma"); title("Apertúra megvilágítsáfüggvénye - amplitúdó");
xlabel("r'"); xlabel("r'");
ylabel("Sugarak száma"); ylabel("|E(r')| [V/m]");
xlim([-obj.size/2, obj.size/2]); xlim([-obj.size/2, obj.size/2]);
subplot(2,1,2); subplot(2,1,2);
stem(x, angle(histogram),'MarkerSize',0.001); stem(x, angle(histogram),'MarkerSize',0.001);
title("Apertúra megvilágításfüggvénye - fázis"); title("Apertúra megvilágításfüggvénye - fázis");
xlabel("r'"); xlabel("r'");
ylabel("arg|E(r')| [rad]");
xlim([-obj.size/2, obj.size/2]); xlim([-obj.size/2, obj.size/2]);
ylim([-pi, pi]); ylim([-pi, pi]);
yticks([-pi, -3*pi/4, -pi/2, -pi/4, 0, pi/4, pi/2, 3*pi/4, pi]); yticks([-pi, -3*pi/4, -pi/2, -pi/4, 0, pi/4, pi/2, 3*pi/4, pi]);
......
...@@ -42,7 +42,7 @@ classdef SegmentedAperture < Aperture ...@@ -42,7 +42,7 @@ classdef SegmentedAperture < Aperture
plot(x(:), abs(h(:)), 'LineWidth', 1.5); plot(x(:), abs(h(:)), 'LineWidth', 1.5);
title("Apertúra megvilágítsáfüggvénye - amplitúdó"); title("Apertúra megvilágítsáfüggvénye - amplitúdó");
xlabel("r'"); xlabel("r'");
ylabel("|E(r')|"); ylabel("|E(r')| [V/m]");
xlim([-obj.size/2, obj.size/2]); xlim([-obj.size/2, obj.size/2]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment