GraphUtilities`
GraphUtilities`

LineScaledCoordinate

As of Version 10, all the functionality of the GraphUtilities package is built into the Wolfram System. »

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.

文本

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 年

BibTeX

@misc{reference.wolfram_2024_linescaledcoordinate, author="Wolfram Research", title="{LineScaledCoordinate}", year="2007", howpublished="\url{https://reference.wolfram.com/language/GraphUtilities/ref/LineScaledCoordinate.html}", note=[Accessed: 18-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_linescaledcoordinate, organization={Wolfram Research}, title={LineScaledCoordinate}, year={2007}, url={https://reference.wolfram.com/language/GraphUtilities/ref/LineScaledCoordinate.html}, note=[Accessed: 18-November-2024 ]}