# How to not overdraw gridlines in GeoAxis?

**URL:** https://discourse.julialang.org/t/how-to-not-overdraw-gridlines-in-geoaxis/113789
**Category:** Visualization
**Tags:** question, package, makie, geomakie
**Created:** [May 3, 2024, 11:23am UTC](https://discourse.julialang.org/t/how-to-not-overdraw-gridlines-in-geoaxis/113789 "2024-05-03T11:23:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![yum-yab](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yum-yab/32/208984_2.png) [@yum-yab](https://discourse.julialang.org/u/yum-yab)
#### Post date: [May 3, 2024, 11:23am UTC](https://discourse.julialang.org/t/how-to-not-overdraw-gridlines-in-geoaxis/113789/1 "2024-05-03T11:23:42Z")

</div>

I want to draw a surface on GeoAxis and keep the gridlines in the axis. Unfortunately after passing a certain value (100 i think) the surface overdraws the gridlines, which looks quite bad and not very intended. Is there a way to make the Gridlines always visible?

```julia
using GLMakie
using GeoMakie

xax = 1:10
yax = 1:15

fig = Figure()

ax = GeoAxis(fig[1,1])

data = [x < 5 ? 10000 * cos(x) * sin(y) : -100 * cos(x) * sin(y) for x in xax, y in yax]

surface!(ax, xax, yax, data)

save("output.png", fig)

```

![output](https://global.discourse-cdn.com/julialang/original/3X/d/1/d1d13bb5ff9e1e9aac781c4a432d0dbeb7ca6bc7.png)

---

<div class="post-metadata">

### Author: ![asinghvi17](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/asinghvi17/32/8272_2.png) [@asinghvi17](https://discourse.julialang.org/u/asinghvi17)
#### Post date: [May 6, 2024, 1:06am UTC](https://discourse.julialang.org/t/how-to-not-overdraw-gridlines-in-geoaxis/113789/2 "2024-05-06T01:06:28Z")

</div>

`translate!(your_plot, 0, 0, -1000)` will move your plot back in the z-axis where it can’t overdraw the gridlines. You could also potentially isolate the gridlines and `translate!` them to e.g. `0, 0, 1000` for the same effect.
