Main Content

Plot Markov chain simulations

`simplot(`

uses additional
options specified by one or more name-value pair arguments. For example, specify the type of plot or frame rate for animated plots.`mc`

,`X`

,`Name,Value`

)

`simplot(`

plots on the axes specified by `ax`

,___)`ax`

instead of the current axes (`gca`

) using any of the input argument combinations in the previous syntaxes. The option `ax`

can precede any of the input argument combinations in the previous syntaxes.

returns the plot handle. Use `h`

= simplot(___)`h`

to modify properties of the plot after
you create it.

To compare a plot of realized transitions (`'Type','transitions'`

) with the transition matrix, use:

figure; imagesc(mc.P); colormap(jet); axis square;