I am beginning with Julia so I am not very sure if I am doing something wrong. I try to reproduce the Color Image example.
In the original image, the colorbar is on top of the map. I got it within the map.
(I reduce its quality to upload it here).
Full script run in Pluto Notebook.
begin
using GMT
topo = makecpt(color=:rainbow, range=(1000,5000,500), continuous=true);
grdimage("@tut_relief.nc", shade=(azimuth=100, norm="e0.8"), proj=:Mercator, frame=:a, color=topo)
colorbar!(pos=(anchor=:TC,length=(12.5,0.6), horizontal=true, offset=(0,1.0)),
color=topo, frame=(ylabel=:m,), fmt=:jpg, show=true)
end