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].


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 all close 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)
Tech Notes
Related Guides
-
▪
- Graph Utilities Package ▪
- Graphs & Networks ▪
- Graph Visualization ▪
- Computation on Graphs ▪
- Graph Construction & Representation ▪
- Graphs and Matrices ▪
- Graph Properties & Measurements ▪
- Graph Operations and Modifications ▪
- Statistical Analysis ▪
- Social Network Analysis ▪
- Graph Properties ▪
- Mathematical Data Formats ▪
- Discrete Mathematics
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
BibTeX
@misc{reference.wolfram_2025_linescaledcoordinate, author="Wolfram Research", title="{LineScaledCoordinate}", year="2007", howpublished="\url{https://reference.wolfram.com/language/GraphUtilities/ref/LineScaledCoordinate.html}", note=[Accessed: 16-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_linescaledcoordinate, organization={Wolfram Research}, title={LineScaledCoordinate}, year={2007}, url={https://reference.wolfram.com/language/GraphUtilities/ref/LineScaledCoordinate.html}, note=[Accessed: 16-August-2025]}