Tutorial:Plotting features on a 3-D surface#4466
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a new advanced PyGMT tutorial demonstrating how to overlay additional map features (coastlines, symbols, and text) on top of a 3-D topographic surface created with Figure.grdview, addressing the need described in Issue #3429.
Changes:
- Introduces a new Sphinx-Gallery tutorial script with three examples: coastlines,
plot3dsymbols, and text annotations on a 3-D surface. - Uses Taiwan earth relief as the common dataset and consistent 3-D perspective settings across examples.
- Sets a gallery thumbnail selection for the multi-figure tutorial output.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
|
Just to confirm: PyGMT uses GMT under the hood for 3D plotting, so it behaves the same way. It might be worth mentioning that 3D rendering relies on a painter’s algorithm (depth sorting). This means that in some cases the result may not be visually correct. For example, a city or road that should be hidden behind a mountain may still be visible from some viewpoints due to the painter’s algorithm (no true occlusion). |
Thanks, I've add it. |
Try putting |
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>


Tutorial:Plotting features on a 3-D surface.
Preview: https://pygmt-dev--4466.org.readthedocs.build/en/4466/tutorials/advanced/features_on_3d_surface.html
Issue : #3429