Member of the plots class.
treeplot(p)
Generates a plot for a tree or a forest. A forest is a set of independent trees.
| Name | Description |
| p | Specifies the information of a tree or a forest. If p(i) is 0, node i is a root. If p(i) is j, node i is one of the children of node j. |
This function is not supported in the LabVIEW Run-Time Engine. This function can remain in your scripts when you build a stand-alone application or shared library, but the LabVIEW Run-Time Engine does not execute this function.
p=[0, 4, 5, 10, 0, 10, 3, 4, 5, 1, 3];
treeplot(p)