# Hillshade frame

**URL:** <https://forum.generic-mapping-tools.org/t/hillshade-frame/2900>\
**Category:** PyGMT Q&A\
**Created:** [May 10, 2022, 7:59am UTC](https://forum.generic-mapping-tools.org/t/hillshade-frame/2900 "2022-05-10T07:59:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dorotdot](https://avatars.discourse-cdn.com/v4/letter/d/f4b2a3/32.png) [@dorotdot](https://forum.generic-mapping-tools.org/u/dorotdot)\
**Post date:** [May 10, 2022, 7:59am UTC](https://forum.generic-mapping-tools.org/t/hillshade-frame/2900/1 "2022-05-10T07:59:49Z")

</div>

Hi! I noticed that the frame changes when I use the hillshade map compared to when I’m plotting it using only the “fig.coast” . The directions(N,E) were missing, and also there is always a “.0” at the end of every coordinate. What I’m missing?

 ![2021_0620_1924_B1_2](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/2X/b/b97519ed78275b39f10865e10343cb8492e8f0e1.jpeg)

 ![2021_0620_1924_B1_1](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/2X/8/8c07c6e1039db58e3f1b41476c265794610243f1.jpeg)

```
grid = pygmt.datasets.load_earth_relief(resolution="30s",region=region)
dgrid = pygmt.grdgradient(grid=grid, radiance=[270, 30])
fig = pygmt.Figure()
pygmt.config(FORMAT_GEO_MAP="ddd.x")
pygmt.makecpt(cmap="gray", series=[-1.5, 0.3, 0.01])
fig.grdimage(grid=dgrid, projection= 'M25',cmap = True)
fig.coast(region = region, projection= 'M25',frame=['a2f2', 'WSne'], shorelines=True, water = 'skyblue',resolution = 'f')

```

---

<div class="post-metadata">

**Author:** ![mkononets](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/mkononets/32/4029_2.png) [@mkononets](https://forum.generic-mapping-tools.org/u/mkononets)\
**Post date:** [May 10, 2022, 10:18am UTC](https://forum.generic-mapping-tools.org/t/hillshade-frame/2900/2 "2022-05-10T10:18:30Z")

</div>

> [@dorotdot](#):
>
> The directions(N,E) were missing, and also there is always a “.0” at the end of every coordinate. What I’m missing?

well, you explicitly specified exactly that format with `pygmt.config(FORMAT_GEO_MAP="ddd.x")`  
see details at [gmt.conf — GMT 6.3.0 documentation](https://docs.generic-mapping-tools.org/6.3/gmt.conf.html#term-FORMAT_GEO_MAP)

try plotting without this line.

---

<div class="post-metadata">

**Author:** ![dorotdot](https://avatars.discourse-cdn.com/v4/letter/d/f4b2a3/32.png) [@dorotdot](https://forum.generic-mapping-tools.org/u/dorotdot)\
**Post date:** [May 11, 2022, 12:47am UTC](https://forum.generic-mapping-tools.org/t/hillshade-frame/2900/3 "2022-05-11T00:47:09Z")

</div>

oh I see. It works well after I removed the line. Thank you
