此为 Mathematica 7 文档,内容基于更早版本的 Wolfram 语言
查看最新文档(版本11.1)

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