# Problem with 3D view in modern mode (grdview and coast)

**URL:** <https://forum.generic-mapping-tools.org/t/problem-with-3d-view-in-modern-mode-grdview-and-coast/479>\
**Category:** Q&A\
**Created:** [May 19, 2020, 2:32pm UTC](https://forum.generic-mapping-tools.org/t/problem-with-3d-view-in-modern-mode-grdview-and-coast/479 "2020-05-19T14:32:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Esteban82](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/esteban82/32/54_2.png) [@Esteban82](https://forum.generic-mapping-tools.org/u/Esteban82)\
**Post date:** [May 19, 2020, 2:32pm UTC](https://forum.generic-mapping-tools.org/t/problem-with-3d-view-in-modern-mode-grdview-and-coast/479/1 "2020-05-19T14:32:53Z")

</div>

I have an script in classic mode which works fine that I am translating to modern mode. As you can see in the figures below, the frontal facade is not plot and the plane for the sea is plotted at the bottom of the diagram (instead of 0). Where is the mistake? Thanks in advance.

Sintetized commands in modern mode:

```
gmt begin %title% png
	gmt makecpt -Cdem4 -T0/7000/250 -Z
	gmt grdgradient "GMRTv3_1.grd" -A160 -Ne0.5 -G%SHADOW%
	gmt grdview "GMRTv3_1.grd" -R%REGION3D% -J%PROJ% -JZ%PROZ% -p%persp% -Qi500 -C -I%SHADOW% -N-10000+glightgray -Wf0.5 -BnSwEZ+b -Baf -Bzaf+l"Altura (m)"
	gmt coast -p%persp%/0 -Df -Sdodgerblue2 -A0/0/1 
gmt end show

```

Figure with Classic mode:  
[![](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/1X/9ae0424ca24b407a757ccf58acc2daddd63dc807.jpeg) ](https://dl.dropboxusercontent.com/s/zmbbecwsjylf7ss/EJ13.1_Bloque3D.png?dl=0)

Figure with Modern mode:  
[![](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/1X/782f970d41b3f39fbf0ff884486fa94ea35a532d.jpeg) ](https://dl.dropboxusercontent.com/s/k4siuxzo1bud1h9/EJ13.1_Bloque_3D_Modern.png?dl=0)

Links:  
[Modern mode Script](https://www.dropbox.com/s/byaptze8u7wjfwi/EJ13.1_Bloque_3D_Modern.bat?dl=0):  
[GMRT Grid](https://www.dropbox.com/s/cdzxh52o1nhnmay/GMRTv3_1.grd?dl=0)

---

<div class="post-metadata">

**Author:** ![Esteban82](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/esteban82/32/54_2.png) [@Esteban82](https://forum.generic-mapping-tools.org/u/Esteban82)\
**Post date:** [July 31, 2023, 12:32pm UTC](https://forum.generic-mapping-tools.org/t/problem-with-3d-view-in-modern-mode-grdview-and-coast/479/2 "2023-07-31T12:32:56Z")

</div>

It is working now.

---

<div class="post-metadata">

**Author:** ![tab119](https://avatars.discourse-cdn.com/v4/letter/t/77aa72/32.png) [@tab119](https://forum.generic-mapping-tools.org/u/tab119)\
**Post date:** [July 10, 2024, 10:36am UTC](https://forum.generic-mapping-tools.org/t/problem-with-3d-view-in-modern-mode-grdview-and-coast/479/3 "2024-07-10T10:36:47Z")

</div>

Hi there, what was the solution for this? I have same problem. Tom

---

<div class="post-metadata">

**Author:** ![Esteban82](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/esteban82/32/54_2.png) [@Esteban82](https://forum.generic-mapping-tools.org/u/Esteban82)\
**Post date:** [July 10, 2024, 11:23am UTC](https://forum.generic-mapping-tools.org/t/problem-with-3d-view-in-modern-mode-grdview-and-coast/479/4 "2024-07-10T11:23:38Z")

</div>

Mmm, I don’t remember. Maybe it was a bug. What GMT version are you using?
