主要内容

plot

R2026b

Plot OPC UA data in line graph

Description

plot(dObj) plots the data in the OPC UA 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 UA example data file and plot the uaDataVis object.

load opcSampleUaData;
plot(uaDataVis)

OPC UA Data Plot for one node

Input Arguments

collapse all

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

Version History

Introduced before R2006a

See Also

Functions