def plot_plate_limits(axis, ridges, trenches, ymin, ymax):
for trench in trenches:<EOL><INDENT>axis.axvline(<EOL>x=trench, ymin=ymin, ymax=ymax,<EOL>color='<STR_LIT>', ls='<STR_LIT>', alpha=<NUM_LIT>)<EOL><DEDENT>for ridge in ridges:<EOL><INDENT>axis.axvline(<EOL>x=ridge, ymin=ymin, ymax=ymax,<EOL>color='<STR_LIT>', ls='<STR_LIT>', alpha=<NUM_LIT>)<EOL><DEDENT>axis.set_xlim(<NUM_LIT:0>, <NUM_LIT:2> * np.pi)<EOL>axis.set_ylim(ymin, ymax)<EOL>
plot lines designating ridges and trenches