.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_gallery/plot_example_3d_data.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_auto_gallery_plot_example_3d_data.py: 3D plot data =========================== Here is an example to display 3D data using plot_imshow_3D from the plot_3d module. .. GENERATED FROM PYTHON SOURCE LINES 7-19 .. code-block:: Python from pytopomap.tools import read_tiff from pytopomap.plot_3d import plot_imshow_3D url = r"https://raw.githubusercontent.com/marcperuz/pytopomap/main/data/h_deposits.tif" x, y, data = read_tiff(url) fig = plot_imshow_3D(x, y, data) fig .. raw:: html


.. GENERATED FROM PYTHON SOURCE LINES 20-21 It is possible to add many parameters to modify the display. .. GENERATED FROM PYTHON SOURCE LINES 21-23 .. code-block:: Python fig = plot_imshow_3D(x, y, data, minval=15, maxval=100) fig .. raw:: html


.. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.890 seconds) .. _sphx_glr_download_auto_gallery_plot_example_3d_data.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_example_3d_data.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_example_3d_data.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_example_3d_data.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_