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

hold (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the plots class.

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.

Details

Examples

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 = 0:1:10;
plot(X)
Y = X+1;
hold on
plot(Y)
hold off

Related Topics

figure
grid


Resources


 

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