Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

treeplot (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the plots class.

Syntax

treeplot(p)

Description

Generates a plot for a tree or a forest. A forest is a set of independent trees.

Details

Examples

Inputs

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.

Details

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.

Examples

p=[0, 4, 5, 10, 0, 10, 3, 4, 5, 1, 3];
treeplot(p)

Related Topics

plot


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit