aboutsummaryrefslogtreecommitdiff
path: root/plot_beams_and_faces_figure.m
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2011-07-07 16:51:20 -0400
committerEugeniy Mikhailov <evgmik@gmail.com>2011-07-07 16:51:20 -0400
commit789728cddc88718d500127cd30076ab4017a6934 (patch)
treed5291b6ef39c04f2c6a6bf56c27c91f2bfd6a866 /plot_beams_and_faces_figure.m
parent9e5a8cc303a448985d726c205fa9ec089a8b3319 (diff)
downloadwgmr-789728cddc88718d500127cd30076ab4017a6934.tar.gz
wgmr-789728cddc88718d500127cd30076ab4017a6934.zip
simple ray diagram plotted too
Diffstat (limited to 'plot_beams_and_faces_figure.m')
-rw-r--r--plot_beams_and_faces_figure.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/plot_beams_and_faces_figure.m b/plot_beams_and_faces_figure.m
index 6aebd8c..cdbe5ba 100644
--- a/plot_beams_and_faces_figure.m
+++ b/plot_beams_and_faces_figure.m
@@ -45,7 +45,10 @@ function plot_beams_and_faces_figure(border_limits, img, faces, fig_handle)
yf=faces{i}.vertex1(2) + (faces{i}.vertex2(2)-faces{i}.vertex1(2))*t;
plot(xf,yf, 'k-');
end
+
+ axis('equal');
hold off;
+
end