LineScaledCoordinate
LineScaledCoordinate[{{x1,y1},{x2,y2},…,{xk,yk}},r]
gives the coordinate of a point in the polyline {{x1,y1},{x2,y2},…,{xk,yk}}, at a scaled distance of r from point {x1,y1}.
LineScaledCoordinate[{{x1,y1},{x2,y2},…,{xk,yk}}]
is the same as LineScaledCoordinate[{{x1,y1},{x2,y2},…,{xk,yk}},0.5].
更多信息和选项
- To use LineScaledCoordinate, you first need to load the Graph Utilities Package using Needs["GraphUtilities`"].
- LineScaledCoordinate works for both two and three dimensions.
范例
打开所有单元关闭所有单元基本范例 (1)
This displays the vertices that form the edges at a point 60% of the way down the arrow:
This adds edge labels in GraphPlot3D:
Interactive Examples (1)
文本
Wolfram Research (2007),LineScaledCoordinate,Wolfram 语言函数,https://reference.wolfram.com/language/GraphUtilities/ref/LineScaledCoordinate.html.
CMS
Wolfram 语言. 2007. "LineScaledCoordinate." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/GraphUtilities/ref/LineScaledCoordinate.html.
APA
Wolfram 语言. (2007). LineScaledCoordinate. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/GraphUtilities/ref/LineScaledCoordinate.html 年