Hi!
I am trying to give color (gray) to the region inside error bars. The idea is to obtain something similar to the attached image. However, I do not see enough examples of the coding with GMT.
psbasemap -JX6i -R150/300/-7/5 -Bxf10a100 -Byf0.5a1 -By+l"(mm/yr)" -Bx+l"Distance along profile (km)" -BWeSn -K -Xc -Yc > a.ps
awk ‘{print $4,$2,$3}’ file.txt | psxy -J -R -Ey -W1.0 -O -K >> a.ps
awk ‘{print $4,$2-0.25,$1}’ file.txt | pstext -J -R -F+f9p,Times-Bold,black -O -K >> a.ps
awk ‘{print $4,$2,$1}’ file.txt | psxy -J -R -Sc0.25 -W0.5 -Gblack -O >> a.ps
psconvert a.ps -A -Tt
file.txt (242 Bytes)
I will appreciate the help.