.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "sample_data/elevation_nl.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_sample_data_elevation_nl.py: Elevation NL ============ This is a small dataset containing a triangulation of a digital elevation model of the Netherlands. .. GENERATED FROM PYTHON SOURCE LINES 8-22 .. image-sg:: /sample_data/images/sphx_glr_elevation_nl_001.png :alt: elevation nl :srcset: /sample_data/images/sphx_glr_elevation_nl_001.png :class: sphx-glr-single-img .. rst-class:: sphx-glr-script-out .. code-block:: none [] | .. code-block:: Python import matplotlib.pyplot as plt import xugrid uda = xugrid.data.elevation_nl() section_y = 475_000.0 section = uda.ugrid.sel(y=section_y) fig, (ax0, ax1) = plt.subplots(figsize=(22.6, 10), ncols=2) uda.ugrid.plot(ax=ax0, vmin=-20, vmax=90, cmap="terrain") ax0.axhline(y=section_y, color="red") section.plot(ax=ax1, x="mesh2d_x") .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.669 seconds) .. _sphx_glr_download_sample_data_elevation_nl.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: elevation_nl.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: elevation_nl.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: elevation_nl.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_