plotxy
Plot series associated with two node objects against each other
Description
plots the simulation series values of node fh
= plotxy(x
,y
)y
along the
y
-axis, with series values of node x
along
the x
-axis. fh
is a cell array of handles to
the resulting figures. x
and y
are
simscape.logging.Node
objects or homogeneous cell arrays of such objects.
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. If x
and y
are cell arrays,
they must be of the same size, or one of them can be a scalar.
lets you customize the plot by using one or more fh
= plotxy(x
,y
,Name,Value
)Name,Value
pair
arguments. For example, specify 'time
' followed by a 1x2 vector,
[
, to plot only the data within this time
range.start_time
end_time
]
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2010b