.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "generated/gallery/general/plot_polar_stereo.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code .. rst-class:: sphx-glr-example-title .. _sphx_glr_generated_gallery_general_plot_polar_stereo.py: Example of a Polar Stereographic Plot ===================================== Demonstrates plotting data that are defined on a polar stereographic projection. .. GENERATED FROM PYTHON SOURCE LINES 9-29 .. image-sg:: /generated/gallery/general/images/sphx_glr_plot_polar_stereo_001.png :alt: Toa brightness temperature :srcset: /generated/gallery/general/images/sphx_glr_plot_polar_stereo_001.png :class: sphx-glr-single-img .. code-block:: Python import matplotlib.pyplot as plt import iris import iris.plot as iplt import iris.quickplot as qplt def main(): file_path = iris.sample_data_path("toa_brightness_stereographic.nc") cube = iris.load_cube(file_path) qplt.contourf(cube) ax = plt.gca() ax.coastlines() ax.gridlines() iplt.show() if __name__ == "__main__": main() .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 1.613 seconds) .. _sphx_glr_download_generated_gallery_general_plot_polar_stereo.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_polar_stereo.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_polar_stereo.py ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_