Problem with triplot?

I tried the sample script in the help for triplot
X = rand(10,2); dt = DelaunayTri(X); triplot(dt)
and got the result: "Error using triplot Too many input arguments."
I am puzzled. Any thoughts as to what is happening? Stephen

 采纳的回答

That could happen if you had your own triplot.m in your path. Check
which -all triplot

1 个评论

Thanks - that was it - I had an old (ca. 2000) oceanography toolbox that included old versions of triplot of uncertain origin. Deleting these fixed the problem.

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Stress and Strain 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by