Main Content

stairs

Plot OPC HDA data object as stairstep graph

Syntax

stairs(dObj)
pH = stairs(dObj)

Description

stairs(dObj) plots the data in OPC HDA data object dObj as a series of stair steps. Each element of dObj is plotted into the current axes as the value against its time stamp. Quality is not displayed in the plot.

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

Examples

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

load opcSampleHdaData;
stairs(hdaDataVis)

See Also

| |