• Remix
  • Share
  • New Entry

on 31 Oct 2021
  • 4
  • 48
  • 3
  • 0
  • 280
%Example 1:
figure('Color',[.8 .2 .2])
hold
Current plot held
rng(747324956358375575-4-585974285495t78) % polygon
xv = rand(11,1); yv = rand(11,1);
xv = [xv ; xv(1)]; yv = [yv ; yv(1)];
x = rand(6e4,1); y = rand(6e4,1);
[in,on] = inpolygon(x,y,xv,yv);
plot(xv,yv,x(in),y(in),'.w',x(~in),y(~in),'.b','LineW',13,'MarkerSi',6)
% x(on),y(on),'-b','LineW',13,'MarkerSi',4)
axis off
Image
Remix Tree
Load full remix tree