Open consumere opened 5 months ago
I'm using GeoMakie: 0.6.2
Is there a possibility to draw gridlines with defined spacings?
So far i tried this, but no luck :(
prj = "+proj=webmerc +datum=WGS84" lims=((8.5,11.5), (49.2, 51.3)) lons = 9:12 lats = 48:51 field = [exp(cosd(l)) + 3(y/90) for l in lons, y in lats] fig = GeoMakie.Figure(); ax = GeoMakie.GeoAxis(fig[1,1], dest = prj, limits=lims; yminorgridstyle=true, xminorgridstyle=true, yminorticksvisible = true, yminorgridvisible = true, yminorticks = (0.2,true), xminorticks = (0.2,true), ) lp = GeoMakie.heatmap!(ax,lons, lats, field; )
prj = "+proj=webmerc +datum=WGS84"
lims=((8.5,11.5), (49.2, 51.3))
lons = 9:12
lats = 48:51
field = [exp(cosd(l)) + 3(y/90) for l in lons, y in lats]
fig = GeoMakie.Figure();
ax = GeoMakie.GeoAxis(fig[1,1], dest = prj, limits=lims; yminorgridstyle=true, xminorgridstyle=true, yminorticksvisible = true, yminorgridvisible = true, yminorticks = (0.2,true), xminorticks = (0.2,true), )
lp = GeoMakie.heatmap!(ax,lons, lats, field; )
Ah, so far I don't think GeoAxis supports minor gridlines. We could make it do so though - it would just be more expensive to zoom.
I'm using GeoMakie: 0.6.2
Is there a possibility to draw gridlines with defined spacings?
So far i tried this, but no luck :(
prj = "+proj=webmerc +datum=WGS84"
lims=((8.5,11.5), (49.2, 51.3))
lons = 9:12
lats = 48:51
field = [exp(cosd(l)) + 3(y/90) for l in lons, y in lats]
fig = GeoMakie.Figure();
ax = GeoMakie.GeoAxis(fig[1,1], dest = prj, limits=lims; yminorgridstyle=true, xminorgridstyle=true, yminorticksvisible = true, yminorgridvisible = true, yminorticks = (0.2,true), xminorticks = (0.2,true), )
lp = GeoMakie.heatmap!(ax,lons, lats, field; )