I want to create a global hypsometry curve (like Fig 9a of Tozer 2019).
I try the following commands. With -Gred the figure is Ok. Then I try the other two options but I couldn’t. What I am doing wrong?
gmt grd2xyz @earth_relief_01d_p > "datos" -o2
gmt pshistogram -R-11000/8500/0/4.5 -JX10c/5c "datos" -Gred -A -T100 -Z1 -Baf -K > histo.ps
gmt makecpt -Cglobe -T-11000/8500 > color.cpt
gmt pshistogram -R -J "datos" -Ccolor.cpt -A -T100 -Z1 -Baf -O -K >> histo.ps -Vi -Y5.5c
gmt pshistogram -R -J "datos" -Cglobe -A -T100 -Z1 -Baf -O >> histo.ps -Vi -Y5.5c
gmt psconvert histo.ps -A -Tg -Z
GMT version: Version 6.2.0_e752793-dirty_2021.02.22
