Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. 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.