i want to draw a triangle with vertices on 3 axis, how to do it? and also how to draw a incircle in it?
20 ビュー (過去 30 日間)
回答 (1 件)
Cris LaPierre 2021 年 10 月 13 日
You could just use plot3. Just remember to close the loop.
plot3([1,0,0,1], [0,1,0,0], [0,0,1,0])
If you want it filled in, you could use fill3.
fill3([1,0,0], [0,1,0], [0,0,1],'m')