Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

treeplot (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: plots

Requires: MathScript RT Module

Syntax

treeplot(p)

Description

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

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

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine No (always ignored)
Supported on RT targets No

Examples

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

Related Topics

plot


 

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