From 09:00 PM Friday, August 7 - 10:30 AM CST Saturday, August 8, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

pie (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

pie(x)

pie(x, y)

Description

Generates a pie chart.

Examples

Inputs

Name Description
x Specifies the size of the slices of pie you want to plot. LabVIEW ignores the non-positive elements in x. x is a vector.
y Specifies whether to offset the slices of pie from the center point. y is a vector. length(y) must equal length(x).

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

x = rand(6, 1);
y = [0, 0, 1, 0, 1, 0];
pie(x, y);

WAS THIS ARTICLE HELPFUL?

Not Helpful