How do I mask out the ocean when using GMT? Doing this using grdimage
does not appear to be working.
Here is the image without clipping applied
However when I set cliping in grdimage to :land I get the following
MWE
using GMT
grdimage(
"@earth_relief_10m.grd",
region="84.00/-44.28/189.02/15.90+r",
proj = (name=:Albers, center=[147.63 -24.26], parallels=[-18 -36]),
shade=(azimuth=120, norm="e0.2"),
colorbar = (
show = true,
pos=(anchor=:BC, horizontal=true, offset=(0.0,1.0)),
xlabel = "Elevation (m)"
),
B="30f10g10",
show=false,
clip = :land,
savefig = "plot-grid-clipped.png"
)