


HIT_PWA_PLOT1D Plot a PWA function with 1D domain.
-------------------------------------------------------------------------
DESCRIPTION
-------------------------------------------------------------------------
minz=hit_pwa_plot1d(theta,regions,domain,nfig,x_lab,y_lab)
-------------------------------------------------------------------------
INPUT
-------------------------------------------------------------------------
theta{i}: PV of the i-th mode.
regions(i): polyhedron describing the region of the i-th mode.
domain: polytope specifying the polytopic domain of the function. It can
be empty if the regions are already bounded.
nfig: # of the figure displaying the plot.
x_lab, y_lab: labels for the x-y axis.
-------------------------------------------------------------------------
OUTPUT
-------------------------------------------------------------------------
minz: minimum of the PWA function.