【发布时间】:2011-07-16 18:22:56
【问题描述】:
我正在尝试平滑我在点之间绘制的路径。
请考虑:
lesPoints = {{41, 26}, {42, 29}, {41, 31}, {46, 30}, {48, 30},
{40, 30}, {43, 30}, {47, 30}, {48, 26}, {47, 20}}
这些是我用来追踪时间路径的真实注视坐标。
这就是我现在绘制它们的方式:
Graphics[{
Table[Arrow[{lesPoints[[i]], lesPoints[[i + 1]]}],
{i,Length[lesPoints] - 1}],
MapThread[Text[Style[#1, Large, FontFamily -> "Impact"], {#2, #3}] &,
PrependTo[Transpose[lesPoints], Range[1, Length@lesPoints]]]}]
我在尝试使用插值时没有做对。
这会是一个让道路平坦的好方法吗?还有什么替代方法?
【问题讨论】:
标签: graphics wolfram-mathematica interpolation