Home > mpt > @mptctrl > plot.m

plot

PURPOSE ^

PLOT Plots regions of the explicit controller

SYNOPSIS ^

function handle=plot(ctrl,Options)

DESCRIPTION ^

PLOT Plots regions of the explicit controller

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 Plots the polyhedral parition obtained as a solution of the 
 optimal control problem obtained by mpt_control.

 NOTE: this function only supports explicit controllers!

 USAGE:
   plot(ctrl)
   plot(ctrl, Options)

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 ctrl             - Explicit controller (MPTCTRL object)
 Options.noInfCol - Supress green-shade coloring for time-optimal solutions

 ---------------------------------------------------------------------------
 OUTPUT                                                                                                    
 ---------------------------------------------------------------------------
 handle       - handle to the graph

 see also MPT_PLOTTRAJECTORY, MPT_PLOTPWA, MPT_PLOTPWQ, MPT_CONTROL

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 30-Mar-2006 10:26:47 by m2html © 2003