def _plot_rprof_list(sdat, lovs, rprofs, metas, stepstr, rads=None):
if rads is None:<EOL><INDENT>rads = {}<EOL><DEDENT>for vfig in lovs:<EOL><INDENT>fig, axes = plt.subplots(ncols=len(vfig), sharey=True)<EOL>axes = [axes] if len(vfig) == <NUM_LIT:1> else axes<EOL>fname = '<STR_LIT>'<EOL>for iplt, vplt in enumerate(vfig):<EOL><INDENT>xlabel = None<EOL>for ivar, rvar in enumerate(vplt):<EOL><INDENT>fname += rvar + '<STR_LIT:_>'<EOL>rad = rads[rvar] if rvar in rads else rprofs['<STR_LIT:r>']<EOL>if conf.rprof.depth:<EOL><INDENT>rad = rprofs['<STR_LIT>'][<NUM_LIT:1>] - rad<EOL><DEDENT>axes[iplt].plot(rprofs[rvar], rad,<EOL>conf.rprof.style,<EOL>label=metas[rvar].description)<EOL>if conf.rprof.depth:<EOL><INDENT>axes[iplt].invert_yaxis()<EOL><DEDENT>if xlabel is None:<EOL><INDENT>xlabel = metas[rvar].kind<EOL><DEDENT>elif xlabel != metas[rvar].kind:<EOL><INDENT>xlabel = '<STR_LIT>'<EOL><DEDENT><DEDENT>if ivar == <NUM_LIT:0>:<EOL><INDENT>xlabel = metas[rvar].description<EOL><DEDENT>if xlabel:<EOL><INDENT>_, unit = sdat.scale(<NUM_LIT:1>, metas[rvar].dim)<EOL>if unit:<EOL><INDENT>xlabel += '<STR_LIT>'.format(unit)<EOL><DEDENT>axes[iplt].set_xlabel(xlabel)<EOL><DEDENT>if vplt[<NUM_LIT:0>][:<NUM_LIT:3>] == '<STR_LIT>':  <EOL><INDENT>axes[iplt].set_xscale('<STR_LIT>')<EOL><DEDENT>axes[iplt].set_xlim(left=conf.plot.vmin, right=conf.plot.vmax)<EOL>if ivar:<EOL><INDENT>axes[iplt].legend()<EOL><DEDENT><DEDENT>ylabel = '<STR_LIT>' if conf.rprof.depth else '<STR_LIT>'<EOL>_, unit = sdat.scale(<NUM_LIT:1>, '<STR_LIT:m>')<EOL>if unit:<EOL><INDENT>ylabel += '<STR_LIT>'.format(unit)<EOL><DEDENT>axes[<NUM_LIT:0>].set_ylabel(ylabel)<EOL>misc.saveplot(fig, fname + stepstr)<EOL><DEDENT>
Plot requested profiles