Member of the plots class.
hold
hold off
hold on
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.
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.
X = 0:1:10;
plot(X)
Y = X+1;
hold on
plot(Y)
hold off