Contenido principal

plot

Plot OPC HDA data in line graph

Description

plot(dObj) plots the data in the OPC HDA data object dObj as a line 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.

plot(dObj,'Parent',AX) plots the data in the axes object specified in AX.

plot(dObj, ...) specifies properties of the line graph using one or more name-value arguments from the MATLAB® plot function. Use this syntax to define colors and line styles, or to modify other properties of the plotted data.

pH = plot(dObj, ...) returns the handles to the line objects in pH.

example

Examples

collapse all

Load the OPC HDA example data file and plot the hdaDataVis object.

load opcSampleHdaData;
plot(hdaDataVis)

OPC HDA Data Plot

Input Arguments

collapse all

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

Version History

Introduced before R2006a

See Also

Functions