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

 Respuesta aceptada

Walter Roberson
Walter Roberson el 19 de Mayo de 2012

0 votos

That could happen if you had your own triplot.m in your path. Check
which -all triplot

1 comentario

Stephen
Stephen el 19 de Mayo de 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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Physics en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by