Hi there,
Using the following xyz file xyz_example.txt (165 Bytes) and the two following commands:
awk '{print $1, 6370-$2, $3}' xyz_example.txt| gmt surface -R0/5/6280/6370 -I5m/10k -Gt.nc
gmt grdimage t.nc -Baf -B+t -R0/5/6280/6370 -JPa30z -pdf cross_section
I am able to create a cross-section that looks like that:
cross_section.pdf (8.0 KB)
I was wondering whether there is a way to make the grids follow the curvature of the plot’s frame (so there are no gaps in the plot’s edges).