Products & Services Solutions Academia Support User Community Company

Learn more about SimBiology   

sbiotrellis - Plot simulation results in trellis plot

Syntax

trellisplot = sbiotrellis(Dataset, GroupCol, XCol, YCol)
trellisplot = sbiotrellis(Dataset, GroupCol, XCol, YCol, ...)
trellisplot = sbiotrellis(Dataset, fcnHandleValue, GroupCol, XCol, YCol)
trellisplot = sbiotrellis(simDataObj, fcnHandleValue, XCol, YCol)

Arguments

trellisplotObject returned by sbiotrellis. Use trellisplot together with the plot method to overlay trellis plots. See Description for information about the plot method.
Dataset

dataset containing grouped data to plot.

GroupCol

Column containing groups.

Xcol

Data column to plot on x-axis.

YCol

Data column to plot on y-axis.

fcnHandleValue

Function handle. If '' (empty), default is @plot.

simDataObj

SimBiology data object.

Description

trellisplot = sbiotrellis(Dataset, GroupCol, XCol, YCol) plots each group in Dataset by the data column GroupCol into its own subplot. The data defined by column XCol is plotted against the data defined by column YCol.

trellisplot = sbiotrellis(Dataset, GroupCol, XCol, YCol, ...) takes optional property/value pairs that are supported by the plot command. Refer to plot in the MATLAB Reference documentation for more information on available properties.

trellisplot = sbiotrellis(Dataset, fcnHandleValue, GroupCol, XCol, YCol) plots each group in Dataset as defined by the data column GroupCol into its own subplot. sbiotrellis creates the subplot by calling the function handle, fcnHandleValue, with input arguments defined by the Dataset columns XCol and YCol.

trellisplot = sbiotrellis(simDataObj, fcnHandleValue, XCol, YCol) plots each group in the SimData object (simdataObj) into its own subplot. sbiotrellis creates the subplot by calling the function handle, fcnHandleValue with input arguments defined by the columns XCol and YCol.

Use the plot method to overlay a SimData object or a dataset on an existing sbiotrellis plot. The command, plot(trellisplot, ...) adds a plot to the trellis plot defined by the sbiotrellis object, trellisplot. The SimData or dataset object that is being plotted must have the same number of elements/groups as the trellis plot. The plot method has the same input arguments as sbiotrellis. For an example, see steps 3 and 4 in Performing Population Fitting in the SimBiology User's Guide.

See Also

sbioplot, sbiosubplot

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS