.. _plot_2d_boxes: plotting example: plot_2d_boxes =============================== This example shows how to use nmrglue and `matplotlib `_ to create figures for examining data or publication. In this example the box limits used in :ref:`integrate_2d` are graphically examined. A contour plot of each peak is plotted with the box limits indicated by the dark dashed line. To check peak assignments see :ref:`plot_2d_assignments`. The data used in this example is available for `download. `_ [:download:`source code <../../../examples/plotting/plot_2d/plot_boxes.py>`] .. literalinclude:: ../../../examples/plotting/plot_2d/plot_boxes.py [:download:`input file <../../../examples/plotting/plot_2d/limits.in>`] .. literalinclude:: ../../../examples/plotting/plot_2d/limits.in Sample Figure [:download:`T11.png <../../../examples/plotting/plot_2d/T11.png>`] .. image:: ../../../examples/plotting/plot_2d/T11.png