changeset 31885:53abb2f38ace

maint: Merge stable to default
author Arun Giridhar <arungiridhar@gmail.com>
date Fri, 03 Mar 2023 16:40:47 -0500
parents 3bdfda4f7c16 (current diff) 436f771403bc (diff)
children c3858bef069a
files
diffstat 1 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/geometry/inpolygon.m	Fri Mar 03 14:04:18 2023 -0500
+++ b/scripts/geometry/inpolygon.m	Fri Mar 03 16:40:47 2023 -0500
@@ -104,12 +104,12 @@
 %! clf;
 %! plot (xv, yv);
 %! hold on;
-%! plot (x(inside), y(inside), "@g");
-%! plot (x(! in), y(! in), "@m");
-%! plot (x(on), y(on), "@b");
+%! plot (x(inside), y(inside), "og");
+%! plot (x(! in), y(! in), "sm");
+%! plot (x(on), y(on), "^b");
 %! hold off;
-%! disp ("Green points are inside polygon, magenta are outside,");
-%! disp ("and blue are on boundary.");
+%! disp ("Green circles are inside polygon, magenta squares are outside,");
+%! disp ("and blue triangles are on the boundary.");
 
 %!demo
 %!  xv = [ 0.05840, 0.48375, 0.69356, 1.47478, 1.32158, ...
@@ -129,12 +129,12 @@
 %! clf;
 %! plot (xv, yv);
 %! hold on;
-%! plot (x(inside), y(inside), "@g");
-%! plot (x(! in), y(! in), "@m");
-%! plot (x(on), y(on), "@b");
+%! plot (x(inside), y(inside), "og");
+%! plot (x(! in), y(! in), "sm");
+%! plot (x(on), y(on), "^b");
 %! hold off;
-%! disp ("Green points are inside polygon, magenta are outside,");
-%! disp ("and blue are on boundary.");
+%! disp ("Green circles are inside polygon, magenta squares are outside,");
+%! disp ("and blue triangles are on the boundary.");
 
 %!test
 %! [in, on] = inpolygon ([1, 0, 2], [1, 0, 0], [-1, -1, 1, 1], [-1, 1, 1, -1]);