Dears
I am producing a raypath profile over the oceanic bathymetric data. First I plot a psxy to refer to the water layer in the background, with another psxy in the foreground plotting all points of the bathymetry. I am having difficulty finding [test2.ps|attachment]a solution to fill the bathymetry with a color. When I use -G (e.g. -Glightbrown) it fills a different area into a straight line (see test2.ps). Could somebody help me, please? I will be very grateful.
best regards,
Guilherme de Melo
for raypath in ls *_raypath
do
long2=$(awk ‘NR==1{print $6}’ $raypath.taludeinfo)
psxy -R0/$long2/-5000/500 -JX11/3 -K -Gblue2 -W0.2 -Xc -Y4 > test.ps << END
0 -5000
0 0
$long2 0
$long2 -5000
END
awk '{print $3, $4}' $raypath | psxy -R0/$long2/-5000/500 -JX11/3 -Bx500f100 -By1000f500+l"Depth (m)" -BWSen -X0 -Y0 -W0.7 -V -O >> test.ps
done