# 3D seismic velocity model with topography

**URL:** <https://forum.generic-mapping-tools.org/t/3d-seismic-velocity-model-with-topography/229>\
**Category:** Q&A\
**Created:** [January 31, 2020, 10:44pm UTC](https://forum.generic-mapping-tools.org/t/3d-seismic-velocity-model-with-topography/229 "2020-01-31T22:44:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akroma](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/akroma/32/130_2.png) [@Akroma](https://forum.generic-mapping-tools.org/u/Akroma)\
**Post date:** [January 31, 2020, 10:44pm UTC](https://forum.generic-mapping-tools.org/t/3d-seismic-velocity-model-with-topography/229/1 "2020-01-31T22:44:47Z")

</div>

Dear GMT users,

I want to plot 3d model like in the example figure. I have got separate columns for longitude-latitude-value-depth

What is the proper approach and which gmt commands should i use in order to get this model ?

Thanks in advance

 ![example](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/1X/8cdac5d9aa28a14f986ae32687b15e7dfd50c61d.jpeg)

---

<div class="post-metadata">

**Author:** ![Joaquim](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/joaquim/32/16_2.png) [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Post date:** [February 3, 2020, 8:56pm UTC](https://forum.generic-mapping-tools.org/t/3d-seismic-velocity-model-with-topography/229/2 "2020-02-03T20:56:20Z")

</div>

I’m afraid this is not doable in GMT.

---

<div class="post-metadata">

**Author:** ![Luojiahong](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/luojiahong/32/3926_2.png) [@Luojiahong](https://forum.generic-mapping-tools.org/u/Luojiahong)\
**Post date:** [January 31, 2024, 9:18am UTC](https://forum.generic-mapping-tools.org/t/3d-seismic-velocity-model-with-topography/229/3 "2024-01-31T09:18:19Z")

</div>

here is my solution：

> <https://github.com/Luojiahong/PyGMT_3D_mapview/blob/main/mapview_3d.ipynb>

---

<div class="post-metadata">

**Author:** ![Akroma](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/akroma/32/130_2.png) [@Akroma](https://forum.generic-mapping-tools.org/u/Akroma)\
**Post date:** [January 31, 2024, 3:10pm UTC](https://forum.generic-mapping-tools.org/t/3d-seismic-velocity-model-with-topography/229/4 "2024-01-31T15:10:26Z")

</div>

@Luojiahong

It looks beautiful. After almost four years I wasn’t expecting an answer. Thank you so much : )
