Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hello,
1. Given the below points: (x1,y1), (x1,y2), (x2,y1), (x2,y2), how to make a rectangle in Mathcad Prime based on this points?
2. Given the below points: (x1,y1), (x2,y1), (x3,y2), how to make a triangle in Mathcad Prime based on this points?
Solved! Go to Solution.
You can do both with this simple function:
where pl is a nx2 matrix of (x,y) points. Examples:
Success!
Luc
You can do both with this simple function:
where pl is a nx2 matrix of (x,y) points. Examples:
Success!
Luc
Is it possible also to put some colour inside the square/rectangle?
Sure, refer to the other thread on colour filling.
Success!
Luc
This is only p1=[3,1],p2=[5,7],p3=[7,1] type.