Plot series associated with two node objects against each other
h = plotxy(x,y,Name,Value)
the simulation series values of node
h = plotxy(
y-axis, with series values of node
h is a
cell array of handles to the resulting figures. Arguments
y can be a cell array of objects) of
simscape.logging.Node. Each object must be
a simulation variable node (one that has a direct child series). The
values of this child series are plotted along the respective axis.
All series must have the same time vectors.
Each object name must include a full identifier path to the node, starting with the workspace log variable name. The remaining arguments are optional and provided as name-value pairs.
For more information, including the descriptions of name-value
pair arguments, see the
Plot velocities of ports C and R of the Translational Spring
block TS against each other, in
plotxy(simlog.TS.C.v, simlog.TS.R.v, 'xunits', 'mm/s', 'yunits', 'mm/s')