Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Graph Utilities Package >

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].
  • LineScaledCoordinate works for both 2 and 3 dimensions.
This displays the vertices that form the edges at a point 60% of the way down the arrow:
This adds edge labels in GraphPlot3D:
Needs["GraphUtilities`"]
This displays the vertices that form the edges at a point 60% of the way down the arrow:
In[2]:=
Click for copyable input
Out[2]=
This adds edge labels in GraphPlot3D:
In[3]:=
Click for copyable input
Out[3]=
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team