From 559fbbabf295bb2b2ad416c80b934b03b9167e2f Mon Sep 17 00:00:00 2001
From: lmaresz <lmaresz@sch.bme.hu>
Date: Sun, 14 Jun 2020 20:10:26 +0200
Subject: [PATCH] Plot fix pt3

---
 RTX class/BalazsAperture.m    | 5 +++--
 RTX class/SegmentedAperture.m | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/RTX class/BalazsAperture.m b/RTX class/BalazsAperture.m
index f747005..2620436 100644
--- a/RTX class/BalazsAperture.m	
+++ b/RTX class/BalazsAperture.m	
@@ -32,15 +32,16 @@ classdef BalazsAperture < Aperture
             
             subplot(2,1,1);
             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'");
-            ylabel("Sugarak száma");
+            ylabel("|E(r')| [V/m]");
             xlim([-obj.size/2, obj.size/2]);
             
             subplot(2,1,2);
             stem(x, angle(histogram),'MarkerSize',0.001);
             title("Apertúra megvilágításfüggvénye - fázis");
             xlabel("r'");
+            ylabel("arg|E(r')| [rad]");
             xlim([-obj.size/2, obj.size/2]);
             ylim([-pi, pi]);
             yticks([-pi, -3*pi/4, -pi/2, -pi/4, 0, pi/4, pi/2, 3*pi/4, pi]);
diff --git a/RTX class/SegmentedAperture.m b/RTX class/SegmentedAperture.m
index 66a011a..ad93423 100644
--- a/RTX class/SegmentedAperture.m	
+++ b/RTX class/SegmentedAperture.m	
@@ -42,7 +42,7 @@ classdef SegmentedAperture < Aperture
             plot(x(:), abs(h(:)), 'LineWidth', 1.5);
             title("Apertúra megvilágítsáfüggvénye - amplitúdó");
             xlabel("r'");
-            ylabel("|E(r')|");
+            ylabel("|E(r')| [V/m]");
             xlim([-obj.size/2, obj.size/2]);
             
             
-- 
GitLab