【发布时间】:2016-09-18 09:34:09
【问题描述】:
我有三个参考向量
a ( 0, 0, 1 )
b ( 0, 1, 0 )
c ( 1, 0, 0 )
并且会有测量值,例如
x( 0, 0.5, 0.3 )
我想在 2D 图形中将其绘制为三角形,其边将对应于 a、b 和 c。
在 Matlab 中有一个简单的函数可以做到这一点
http://fr.mathworks.com/help/matlab/ref/triangulation.cartesiantobarycentric.html?s_tid=gn_loc_drop
有人知道 R 中的等价物吗?或者我应该实现数学吗?
【问题讨论】:
标签: r math coordinates cartesian-coordinates