Clear Filters
Clear Filters

Problem with triplot?

1 view (last 30 days)
Stephen
Stephen on 19 May 2012
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

Accepted Answer

Walter Roberson
Walter Roberson on 19 May 2012
That could happen if you had your own triplot.m in your path. Check
which -all triplot
  1 Comment
Stephen
Stephen on 19 May 2012
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.

Sign in to comment.

More Answers (0)

Categories

Find more on Oceanography and Hydrology in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!