:orphan:

.. Copyright (c) 2021, Julien Seguinot (juseg.github.io)
.. GNU General Public License v3.0+ (https://www.gnu.org/licenses/gpl-3.0.txt)

Examples gallery
================

This gallery gives an overview of hyoga's evolving plotting functionality.
Click on an image to see the source code used to generate it.



.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. thumbnail-parent-div-close

.. raw:: html

    </div>

.. Copyright (c) 2021-2022, Julien Seguinot (juseg.github.io)
.. GNU General Public License v3.0+ (https://www.gnu.org/licenses/gpl-3.0.txt)

Glacier data
------------



.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Plot a composite map including bedrock altitude, a half-transparent ice mask, a surface altitude contour, and geographic elements.">

.. only:: html

  .. image:: /examples/datasets/images/thumb/sphx_glr_plot_surface_contours_thumb.png
    :alt:

  :ref:`sphx_glr_examples_datasets_plot_surface_contours.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Surface contours</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Plot a composite map including bedrock altitude, an ice margin contour, a half-transparent filled interior, and geographic elements.">

.. only:: html

  .. image:: /examples/datasets/images/thumb/sphx_glr_plot_ice_margin_thumb.png
    :alt:

  :ref:`sphx_glr_examples_datasets_plot_ice_margin.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Ice margin</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Plot a composite map including bedrock altitude, surface topography contours, a surface velocity map, and geographic elements.">

.. only:: html

  .. image:: /examples/datasets/images/thumb/sphx_glr_plot_surface_velocity_thumb.png
    :alt:

  :ref:`sphx_glr_examples_datasets_plot_surface_velocity.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Surface velocity</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Plot a composite map including bedrock altitude, surface altitude contours, a color-mapped surface velocity streamplot, and geographic elements.">

.. only:: html

  .. image:: /examples/datasets/images/thumb/sphx_glr_plot_surface_streamplot_thumb.png
    :alt:

  :ref:`sphx_glr_examples_datasets_plot_surface_streamplot.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Surface streamplot</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Plot a composite map including bedrock altitude, surface altitude contours, bedroc isostatic adjustment relative to a reference topography in a separate model input file, and geographic elements.">

.. only:: html

  .. image:: /examples/datasets/images/thumb/sphx_glr_plot_bedrock_isostasy_thumb.png
    :alt:

  :ref:`sphx_glr_examples_datasets_plot_bedrock_isostasy.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Bedrock isostasy</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Plot a composite map including bedrock altitude, surface altitude contours, bedrock erosion computed from basal ice velocity, and geographic elements.">

.. only:: html

  .. image:: /examples/datasets/images/thumb/sphx_glr_plot_bedrock_erosion_thumb.png
    :alt:

  :ref:`sphx_glr_examples_datasets_plot_bedrock_erosion.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Bedrock erosion</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>

.. Copyright (c) 2021-2022, Julien Seguinot (juseg.github.io)
.. GNU General Public License v3.0+ (https://www.gnu.org/licenses/gpl-3.0.txt)

Interpolation
-------------



.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Demonstrate interpolating two-dimensional model output when surface topography, rather than bedrock topography, is present in the original data. The result is the same as in the interpolated output example.">

.. only:: html

  .. image:: /examples/interp/images/thumb/sphx_glr_plot_interpolated_surface_thumb.png
    :alt:

  :ref:`sphx_glr_examples_interp_plot_interpolated_surface.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Interpolated with surface topo</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Demonstrate interpolating two-dimensional model output onto a higher-resolution topography provided in a separate file. Bedrock isostatic adjustment needs to be informed in order to correct for the offset between the model and the high-resolution bedrock topographies. This is a rather extreme example with a ten-fold increase in horizontal resolution.">

.. only:: html

  .. image:: /examples/interp/images/thumb/sphx_glr_plot_interpolated_streamplot_thumb.png
    :alt:

  :ref:`sphx_glr_examples_interp_plot_interpolated_streamplot.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Interpolated streamplot</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Demonstrate interpolating two-dimensional model output onto a one-dimensional profile defined by x and y coordinates inside a shapefile.">

.. only:: html

  .. image:: /examples/interp/images/thumb/sphx_glr_plot_profile_altitudes_thumb.png
    :alt:

  :ref:`sphx_glr_examples_interp_plot_profile_altitudes.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Profile interpolation</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Demonstrate two-dimensional model output interpolation onto grids with increasing spatial resolution. The leftmost panel shows the original data with a spatial resolution of 1 km, and other panels show interpolated results.">

.. only:: html

  .. image:: /examples/interp/images/thumb/sphx_glr_plot_interpolated_resolutions_thumb.png
    :alt:

  :ref:`sphx_glr_examples_interp_plot_interpolated_resolutions.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Grid refinement</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>

.. Copyright (c) 2022, Julien Seguinot (juseg.github.io)
.. GNU General Public License v3.0+ (https://www.gnu.org/licenses/gpl-3.0.txt)

Shaded relief
-------------



.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Plot a composite map including bedrock altitude, hillshade, and geographic elements.">

.. only:: html

  .. image:: /examples/shading/images/thumb/sphx_glr_plot_bedrock_altitude_thumb.png
    :alt:

  :ref:`sphx_glr_examples_shading_plot_bedrock_altitude.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Bedrock altitude</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Plot a composite map including bedrock altitude contours, hillshade, and geographic elements. In absence of a levels argument, the altitude levels are internally optimized to fit the Topographic colormap.">

.. only:: html

  .. image:: /examples/shading/images/thumb/sphx_glr_plot_bedrock_contours_thumb.png
    :alt:

  :ref:`sphx_glr_examples_shading_plot_bedrock_contours.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Bedrock altitude contours</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Plot shaded relief map using glossy and matte colormaps.">

.. only:: html

  .. image:: /examples/shading/images/thumb/sphx_glr_plot_hillshade_colormaps_thumb.png
    :alt:

  :ref:`sphx_glr_examples_shading_plot_hillshade_colormaps.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Hillshade colormaps</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Plot hyoga altitude and relief colormaps.">

.. only:: html

  .. image:: /examples/shading/images/thumb/sphx_glr_plot_colormap_reference_thumb.png
    :alt:

  :ref:`sphx_glr_examples_shading_plot_colormap_reference.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Colormap reference</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Plot shaded relief map using a single and multiple illumination angles.">

.. only:: html

  .. image:: /examples/shading/images/thumb/sphx_glr_plot_hillshade_directions_thumb.png
    :alt:

  :ref:`sphx_glr_examples_shading_plot_hillshade_directions.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Multidirectional hillshade</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>

.. Copyright (c) 2022, Julien Seguinot (juseg.github.io)
.. GNU General Public License v3.0+ (https://www.gnu.org/licenses/gpl-3.0.txt)

Vector graphics
---------------



.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Plot Ehlers et al. (2011) global paleoglacier data on top of gridded Alpine topographic data, whose coordinate system is read from an netCDF attribute.">

.. only:: html

  .. image:: /examples/vectors/images/thumb/sphx_glr_plot_paleoglaciers_alpine_thumb.png
    :alt:

  :ref:`sphx_glr_examples_vectors_plot_paleoglaciers_alpine.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Alpine paleoglaciers</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Plot Batchelor et al. (2019) arctic paleoglaciers as a standalone vector map, using a north polar stereographic coordinate system (https://epsg.io/3995).">

.. only:: html

  .. image:: /examples/vectors/images/thumb/sphx_glr_plot_paleoglaciers_arctic_thumb.png
    :alt:

  :ref:`sphx_glr_examples_vectors_plot_paleoglaciers_arctic.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Arctic paleoglaciers</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Plot scale bars with different styles.">

.. only:: html

  .. image:: /examples/vectors/images/thumb/sphx_glr_plot_scale_bar_thumb.png
    :alt:

  :ref:`sphx_glr_examples_vectors_plot_scale_bar.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Scale bars</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Demonstrate use of GeoPandas to highlight particular Natural Earth features.">

.. only:: html

  .. image:: /examples/vectors/images/thumb/sphx_glr_plot_natural_earth_thumb.png
    :alt:

  :ref:`sphx_glr_examples_vectors_plot_natural_earth.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Natural Earth and GeoPandas</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>

.. Copyright (c) 2022, Julien Seguinot (juseg.github.io)
.. GNU General Public License v3.0+ (https://www.gnu.org/licenses/gpl-3.0.txt)

Hyoga logo
----------



.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Plot hyoga logo and favicon and including glaciers and paleoglaciers.">

.. only:: html

  .. image:: /examples/logos/images/thumb/sphx_glr_plot_hyoga_logo_thumb.png
    :alt:

  :ref:`sphx_glr_examples_logos_plot_hyoga_logo.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Hyoga logo</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>


.. toctree::
   :hidden:
   :includehidden:


   /examples/datasets/index.rst
   /examples/interp/index.rst
   /examples/shading/index.rst
   /examples/vectors/index.rst
   /examples/logos/index.rst


.. only:: html

  .. container:: sphx-glr-footer sphx-glr-footer-gallery

    .. container:: sphx-glr-download sphx-glr-download-python

      :download:`Download all examples in Python source code: examples_python.zip </examples/examples_python.zip>`

    .. container:: sphx-glr-download sphx-glr-download-jupyter

      :download:`Download all examples in Jupyter notebooks: examples_jupyter.zip </examples/examples_jupyter.zip>`


.. only:: html

 .. rst-class:: sphx-glr-signature

    `Gallery generated by Sphinx-Gallery <https://sphinx-gallery.github.io>`_
