This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materials including this page, select Japan from the country navigator on the bottom of this page.


Class: opc.hda.Data
Package: opc.hda

Plot OPC HDA data object as stairstep graph


pH = stairs(dObj)


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.

In all cases, if the current plot is not held, the X-axis is updated using datetick to show date ticks instead of numeric ticks.


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

load opcSampleHdaData;

See Also

| |

Was this topic helpful?