summaryrefslogtreecommitdiff
path: root/solution_visualization.m
diff options
context:
space:
mode:
Diffstat (limited to 'solution_visualization.m')
-rw-r--r--solution_visualization.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/solution_visualization.m b/solution_visualization.m
index 2cf8ce7..6f8fddb 100644
--- a/solution_visualization.m
+++ b/solution_visualization.m
@@ -13,7 +13,7 @@ q_backward=gbeam_propagation(x,qf,xf,optics);
[w_backward,r_backward]=q2wr(q_backward, lambda);
%Plot beam profile
-plot ( ...
+subplot(2,1,1); plot ( ...
x,w_forward, '-r', ...
x,-w_forward, '-r', ...
x, w_backward, '-.b', ...