def plot_grid(step):
rad = get_rprof(step, '<STR_LIT:r>')[<NUM_LIT:0>]<EOL>drad = get_rprof(step, '<STR_LIT>')[<NUM_LIT:0>]<EOL>_, unit = step.sdat.scale(<NUM_LIT:1>, '<STR_LIT:m>')<EOL>if unit:<EOL><INDENT>unit = '<STR_LIT>'.format(unit)<EOL><DEDENT>fig, (ax1, ax2) = plt.subplots(<NUM_LIT:2>, sharex=True)<EOL>ax1.plot(rad, '<STR_LIT>')<EOL>ax1.set_ylabel('<STR_LIT>' + unit)<EOL>ax2.plot(drad, '<STR_LIT>')<EOL>ax2.set_ylabel('<STR_LIT>' + unit)<EOL>ax2.set_xlim([-<NUM_LIT:0.5>, len(rad) - <NUM_LIT:0.5>])<EOL>ax2.set_xlabel('<STR_LIT>')<EOL>misc.saveplot(fig, '<STR_LIT>', step.istep)<EOL>
Plot cell position and thickness.

    The figure is call grid_N.pdf where N is replace by the step index.

    Args:
        step (:class:`~stagpy.stagyydata._Step`): a step of a StagyyData
            instance.