def _plot_time_list(sdat, lovs, tseries, metas, times=None):
if times is None:<EOL><INDENT>times = {}<EOL><DEDENT>for vfig in lovs:<EOL><INDENT>fig, axes = plt.subplots(nrows=len(vfig), sharex=True,<EOL>figsize=(<NUM_LIT:12>, <NUM_LIT:2> * len(vfig)))<EOL>axes = [axes] if len(vfig) == <NUM_LIT:1> else axes<EOL>fname = ['<STR_LIT:time>']<EOL>for iplt, vplt in enumerate(vfig):<EOL><INDENT>ylabel = None<EOL>for ivar, tvar in enumerate(vplt):<EOL><INDENT>fname.append(tvar)<EOL>time = times[tvar] if tvar in times else tseries['<STR_LIT:t>']<EOL>axes[iplt].plot(time, tseries[tvar],<EOL>conf.time.style,<EOL>label=metas[tvar].description)<EOL>lbl = metas[tvar].kind<EOL>if ylabel is None:<EOL><INDENT>ylabel = lbl<EOL><DEDENT>elif ylabel != lbl:<EOL><INDENT>ylabel = '<STR_LIT>'<EOL><DEDENT><DEDENT>if ivar == <NUM_LIT:0>:<EOL><INDENT>ylabel = metas[tvar].description<EOL><DEDENT>if ylabel:<EOL><INDENT>_, unit = sdat.scale(<NUM_LIT:1>, metas[tvar].dim)<EOL>if unit:<EOL><INDENT>ylabel += '<STR_LIT>'.format(unit)<EOL><DEDENT>axes[iplt].set_ylabel(ylabel)<EOL><DEDENT>if vplt[<NUM_LIT:0>][:<NUM_LIT:3>] == '<STR_LIT>':  <EOL><INDENT>axes[iplt].set_yscale('<STR_LIT>')<EOL><DEDENT>axes[iplt].set_ylim(bottom=conf.plot.vmin, top=conf.plot.vmax)<EOL>if ivar:<EOL><INDENT>axes[iplt].legend()<EOL><DEDENT>axes[iplt].tick_params()<EOL><DEDENT>_, unit = sdat.scale(<NUM_LIT:1>, '<STR_LIT:s>')<EOL>if unit:<EOL><INDENT>unit = '<STR_LIT>'.format(unit)<EOL><DEDENT>axes[-<NUM_LIT:1>].set_xlabel('<STR_LIT>' + unit)<EOL>axes[-<NUM_LIT:1>].set_xlim((tseries['<STR_LIT:t>'].iloc[<NUM_LIT:0>], tseries['<STR_LIT:t>'].iloc[-<NUM_LIT:1>]))<EOL>axes[-<NUM_LIT:1>].tick_params()<EOL>misc.saveplot(fig, '<STR_LIT:_>'.join(fname))<EOL><DEDENT>
Plot requested profiles