MATLAB Function Reference |
Syntax
Description
treeplot(p)
plots a picture of a tree given a vector of parent pointers, with p(i)
= 0 for a root.
treeplot(p,nodeSpec,edgeSpec)
allows optional parameters nodeSpec
and edgeSpec
to set the node or edge color, marker, and linestyle. Use ''
to omit one or both.
See Also
treelayout | tril |
© 1994-2005 The MathWorks, Inc.