主要内容

stairs

R2026b

Plot OPC UA data in stairstep graph

Description

stairs(dObj) plots the data in the OPC UA 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 UA example data file and plot the uaDataSample object as a stairstep graph.

load opcSampleUaData;
stairs(uaDataSample(1))

OPC UA Data Stair Plot

Input Arguments

collapse all

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

Version History

Introduced before R2006a

See Also

Functions