plot_uc

plot_uc(md, varargin)

plot_uc() - Plot generator commitment summary

PLOT_UC(MD)
PLOT_UC(MD, IDX)
PLOT_UC(MD, IDX, '<option1_name>', '<option1_value', ...)
PLOT_UC(MD, IDX, OPT)
PLOT_UC(MD, IDX, OPT, '<option1_name>', '<option1_value', ...)
PLOT_UC(MD, MD2)
PLOT_UC(MD, MD2, IDX, )
PLOT_UC(MD, MD2, IDX, '<option1_name>', '<option1_value', ...)
PLOT_UC(MD, MD2, IDX, OPT)
PLOT_UC(MD, MD2, IDX, OPT, '<option1_name>', '<option1_value', ...)
H = PLOT_UC(MD, ...)

IDX is a vector of gen indices, if empty, it includes all generators in
MD. Options can be specified as an OPT struct or as individual pairs of
'name' and 'value' arguments. The possible options include the following,
where the default is shown in parenthesis:
    'title'         ('Unit Commitment - %s') title for the plot, where
                    %s is an optional placeholder for the subtitle
    'subtitle'      ({'First', 'Second', 'Both'}) cell array of labels
                    to use for legend (if two schedules are provided)
                    and to replace a placeholder in the title (based
                    on which commitment schedule(s) is(are) provided in
                    UC1 and/or UC2); can also be a simple string, in
                    which case no legend will be displayed even if both
                    UC1 and UC2 are supplied
    'xlabel'        ('Period') label for horizontal axis
    'ylabel'        (<empty>) label for vertical axis
    'rowlabels'     ({'1', '2', '3', ...) labels for rows (top to bottom)
    'saveit'        (false) flag to indicate whether to create PDF file
    'saveall'       (false) flag to indicate whether to create a single
                    PDF file or, if both MD and MD2 are supplied, three
                    PFF files, one for MD, one for MD2 and one for both.
    'savepath'      ('') path to directory to save files in
    'savename'      ('uc-%s.pdf') name of PDF file
                    %s is optional placeholder for storage unit index
    'size_factor'   (1) to scale font/marker sizes in case you want to
                    do sub-plots or something

Returns handle to current figure window.