.. _plot_2d_assignments: plotting example: plot_2d_assignments ===================================== This example shows how to use nmrglue and `matplotlib `_ to create figures for examining data or publication. In this example the assignments used in :ref:`integrate_2d` are graphically examined. A contour plot of the spectrum with the boxes and assignments is created. To examine the box limit more closely see :ref:`plot_2d_boxes`. The data used in this example is available for `download. `_ [:download:`source code <../../../examples/plotting/plot_2d/plot_assignments.py>`] .. literalinclude:: ../../../examples/plotting/plot_2d/plot_assignments.py [:download:`input file <../../../examples/plotting/plot_2d/limits.in>`] .. literalinclude:: ../../../examples/plotting/plot_2d/limits.in Result: [:download:`assignments.png <../../../examples/plotting/plot_2d/assignments.png>`] .. image:: ../../../examples/plotting/plot_2d/assignments.png