1
I have 3 points and I would like to form a triangle with them, then overlap another triangle with 3 new points and so on.
I tried that, but I can’t make the triangle and the boundaries of the following charts are ignored.
a = matrix(c(rnorm(6)), ncol = 2)
b = matrix(c(rnorm(6)), ncol = 2)
d = matrix(c(rnorm(6)), ncol = 2)
plot(a[,1]~a[,2],pch = 16)
par(new = T)
plot(b[,1]~b[,2], axes = F, ann = F, pch = 16, col = "red")
par(new = T)
plot(d[,1]~d[,2], axes = F, ann = F, pch = 16, col = "green")
Thanks in advance.
Hello man, are several triangles, I want to randomly generate the coordinates and plot one over the other. For example, Gero 150 coordinates there plot 50 triangles one overlapping the other. (150 was just an example)
– WJFS