hold (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

»查看产品信息
下载帮助
(仅限Windows)

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

文章是否对您有帮助?

没有帮助