matplotlib.pyplot.triplot#
- matplotlib.pyplot.triplot(*args, **kwargs)[源代码][源代码]#
绘制一个非结构化的三角形网格作为线条和/或标记。
调用签名:
triplot(triangulation, ...) triplot(x, y, [triangles], *, [mask=mask], ...)
三角网格可以通过传递一个
Triangulation对象作为第一个参数来指定,或者通过传递点 x、y 以及可选的 triangles 和 mask。如果 triangulation 或 triangles 都没有给出,则三角剖分会在运行时计算。- 参数:
- 三角剖分 :
Triangulation三角测量 一个已经创建的三角形网格。
- x, y, 三角形, 掩码
定义三角网格的参数。参见
Triangulation。这与指定 triangulation 是互斥的。- 其他参数
所有其他参数和关键字参数都会传递给
plot。
- 三角剖分 :
- 返回:
注释
备注
这是
axes.Axes.triplot的 pyplot 包装器。