.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/plot_map_simple.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_examples_plot_map_simple.py: Simple map plot =================================== Example of a simple map plot. .. GENERATED FROM PYTHON SOURCE LINES 8-16 .. image-sg:: /auto_examples/images/sphx_glr_plot_map_simple_001.png :alt: plot map simple :srcset: /auto_examples/images/sphx_glr_plot_map_simple_001.png :class: sphx-glr-single-img .. rst-class:: sphx-glr-script-out .. code-block:: none Downloading seafloor_data.nc for future use. This may take a few minutes... seafloor_data.nc downloaded successfully to /home/docs/checkouts/readthedocs.org/user_builds/gerg-plotting/envs/latest/lib/python3.12/site-packages/gerg_plotting/seafloor_data/seafloor_data.nc. Downloading gom_srtm30_plus.txt for future use. This may take a few minutes... gom_srtm30_plus.txt downloaded successfully to /home/docs/checkouts/readthedocs.org/user_builds/gerg-plotting/envs/latest/lib/python3.12/site-packages/gerg_plotting/seafloor_data/gom_srtm30_plus.txt. | .. code-block:: Python from gerg_plotting import data_from_netcdf,MapPlot data = data_from_netcdf('example_data/sample_glider_data.nc',interp_glider=True,bounds_padding=1.5) plotter = MapPlot(data) plotter.scatter('time',show_bathy=True,show_coastlines=False) plotter.save('example_plots/map_simple.png',bbox_inches='tight') .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 19.846 seconds) .. _sphx_glr_download_auto_examples_plot_map_simple.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_map_simple.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_map_simple.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_map_simple.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_