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

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

hold

hold off

hold on

Description

Determines whether a new plot can overwrite an existing plot. hold off indicates that a new plot can overwrite an existing plot. The next plot command overwrites the existing plot. hold on indicates that a new plot cannot overwrite an existing plot. LabVIEW plots new data on and applies plot commands to the existing plot. hold toggles between the two states.

Examples

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 Yes
Suitable for bounded execution times on RT Not characterized

Examples

X = 0:1:10;
plot(X)
Y = X+1;
hold on
plot(Y)
hold off

Related Topics

figure
grid


 

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