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

pie (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

Owning Class: plots

Requires: MathScript RT Module

Syntax

pie(x)

pie(x, y)

Description

Generates a pie chart.

Details

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

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

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


 

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