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].
Details and Options
- To use LineScaledCoordinate, you first need to load the Graph Utilities Package using Needs["GraphUtilities`"].
- LineScaledCoordinate works for both two and three dimensions.
Examples
open allclose allBasic Examples (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)
Text
Wolfram Research (2007), LineScaledCoordinate, Wolfram Language function, https://reference.wolfram.com/language/GraphUtilities/ref/LineScaledCoordinate.html.
CMS
Wolfram Language. 2007. "LineScaledCoordinate." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/GraphUtilities/ref/LineScaledCoordinate.html.
APA
Wolfram Language. (2007). LineScaledCoordinate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/GraphUtilities/ref/LineScaledCoordinate.html