sbiotrellis
R2026bPlot data or simulation results in trellis plot
Syntax
Description
plots each group in trellisplot = sbiotrellis(data,groupCol,xCol,yCol)data as defined by the group column
variable groupCol into its own subplot. The data defined by
column xCol is plotted against the data defined by column(s)
yCol.
plots each group in trellisplot = sbiotrellis(data,fcnHandle,groupCol,xCol,yCol)data as defined by the group column
variable groupCol into its own subplot.
sbiotrellis creates the subplot by calling the function
handle, fcnHandle, with input arguments defined by the
data columns xCol and
yCol. The fcnHandle cannot be empty
and must be specified.
The fcnHandle must have the signature
fcnHandle(x,y), where x is a numeric
column vector, and y is a matrix with the same number of rows as
x.
For instance, if you want to create a trellis plot with a logarithmic
y-axis, use @semilogy as the function
handle, where semilogy is the function that plots
data with logarithmic scale for the y-axis.
plots each group in trellisplot = sbiotrellis(simData,fcnHandle,xCol,yCol)simData into its own subplot.
sbiotrellis creates the subplot by calling the function
handle, fcnHandle with input arguments defined by the columns
xCol and yCol. The
fcnHandle can be empty ('' or
[]). If empty, a default time plot is created by plotting the
simulation time against the states specified in yCol.
The fcnHandle must have the signature
fcnHandle(simDataI,xCol,yCol), where
simDataI is a single SimData object, and
xCol and yCol are the corresponding input
arguments to sbiotrellis.
plots each element pair from trellisplot = sbiotrellis(simDataArray1,simDataArray2,fcnHandle,y1,y2)simDataArray1 and
simDataArray2 into its own subplot.
sbiotrellis creates each subplot by calling the function
handle, fcnHandle, with one element from each
SimData array and the text arguments y1
and y2. Both SimData arrays must have the
same number of elements. The fcnHandle cannot be empty and must
be specified.
The fcnHandle must have the signature
fcnHandle(simData1I,simData2I,y1,y2), where
simData1I and simData2I are individual
SimData objects from simDataArray1 and
simDataArray2, and y1 and
y2 are the corresponding input arguments to
sbiotrellis.
Tip
Use the plot method of a sbiotrellis
object to overlay a SimData object or a
dataset on an existing sbiotrellis
plot. For example, plot(trellisplot,...) adds a plot to
the object trellisplot. The SimData or
dataset that is being plotted must have the same
number of elements or groups as the trellisplot object.
The plot method has the same input arguments as
sbiotrellis.





