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 Exchange에서 Physics에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by