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

 採用された回答

Walter Roberson
Walter Roberson 2012 年 5 月 19 日

0 投票

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 件)

カテゴリ

ヘルプ センター および File ExchangePhysics についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by