Problem with triplot?

1 Ansicht (letzte 30 Tage)
Stephen
Stephen am 19 Mai 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

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Agriculture finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by