Main Content

stairs

Plot OPC HDA data in stairstep graph

Description

stairs(dObj) plots the data in the OPC HDA data object dObj as a stairstep graph. The function plots each element of dObj in a value-against-timestamp plot in the current axis. It does not plot the quality readings.

pH = stairs(dObj) returns the handles to the stair objects in pH.

example

Examples

collapse all

Load the OPC HDA example data file and plot the hdaDataVis object as a stairstep graph.

load opcSampleHdaData;
stairs(hdaDataVis)

OPC HDA Data Stair Plot

Input Arguments

collapse all

Raw OPC HDA data, specified as an OPC HDA data object.

Version History

Introduced before R2006a

See Also

Functions