Problem with triplot?

1 次查看(过去 30 天)
Stephen
Stephen 2012-5-19
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

采纳的回答

Walter Roberson
Walter Roberson 2012-5-19
That could happen if you had your own triplot.m in your path. Check
which -all triplot
  1 个评论
Stephen
Stephen 2012-5-19
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 个)

类别

Help CenterFile Exchange 中查找有关 Agriculture 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by