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

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



pie(x, y)


Generates a pie chart.



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).


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


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


 Was this document helpful?  submit
  Helpful Not Helpful