


PLOT Plots value of the control action
---------------------------------------------------------------------------
DESCRIPTION
---------------------------------------------------------------------------
Plots value of the PWA control law with respect to a polyhedral partition
NOTE: this function only supports explicit controllers!
USAGE:
plotu(ctrl)
plotu(ctrl, uind)
plotu(ctrl, Options)
---------------------------------------------------------------------------
INPUT
---------------------------------------------------------------------------
ctrl - Explicit controller (MPTCTRL object)
uind - Which output to plot (for MIMO systems)
Options.extreme_solver - Which method to use for vertex enumeration
(see 'help extreme')
Options.lpsolver - LP solver to be used
Options.abs_tol - absolute tolerance
Options.newfigure - If set to 1, opens a new figure window
Options.verbose - Level of verbosity
Options.showPn - If set to 1, plots on polyhedral sets Pn,
(default: 0)
Note: If Options is missing or some of the fields are not defined, the default
values from mptOptions will be used
---------------------------------------------------------------------------
OUTPUT
---------------------------------------------------------------------------
handle - handle to the graph
see also MPT_PLOTU, MPT_PLOTPWA