##########################################
perm01.v:
	Window3d < ${PERM}/7000marm.bkim.comb1.H n1=1 min1=2760 | Transp |\
	Grey title=" " pclip=99 label1="depth(m)" titlesz=2 o2num=-200 d2num=200 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="offset(m)" screenratio=4 screenht=2 screenwd=1 grid= 1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=y labelsz=2 > /dev/null out=0.v
	Window3d < ${PERM}/7000marm.bkim.comb1.H min1=1000 max1=9000 min2=0 n2=1 |Transp |\
	Grey title="a)" pclip=99 label1="depth(m)" titlesz=2 o2num=2000 d2num=1000 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="distance(m)" screenratio=4 screenht=2 screenwd=4 wheretitle=b grid= 1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=y labelsz=2 > /dev/null out=1.v
	Window3d < ${PERM}/7000marm.bkim.samp16.H n1=1 min1=2760 | Transp |\
	Grey title=" " pclip=99 label1="depth(m)" titlesz=2 o2num=-200 d2num=200 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="offset(m)" screenratio=4 screenht=2 screenwd=1 grid= 1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=n labelsz=2 > /dev/null out=2.v
	Window3d < ${PERM}/7000marm.bkim.samp16.H min1=1000 max1=9000 min2=0 n2=1 |Transp |\
	Grey title="b)" pclip=99 label1="depth(m)" titlesz=2 o2num=2000 d2num=1000 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="distance(m)" screenratio=4 screenht=2 screenwd=4 wheretitle=b grid= 1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=3.v
	vppen < 0.v xcenter=-1. ycenter=-7 vpstyle=n > j0.v
	vppen < 1.v xcenter=-1.25 ycenter=-7 vpstyle=n > j1.v
	vppen < 2.v xcenter=-1. ycenter=-5.2 vpstyle=n > j2.v
	vppen < 3.v xcenter=-1.25 ycenter=-5.2 vpstyle=n > j3.v
	vp_Overlay j0.v j1.v j2.v j3.v > ${R}/$@	


perm02.v:
	Window3d < ${PERM}/7000marm.bkim.comb4.H n1=1 min1=2760 | Transp |\
	Grey title=" " pclip=99 label1="depth(m)" titlesz=2 o2num=-200 d2num=200 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="offset(m)" screenratio=4 screenht=2 screenwd=1 grid= 1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=y labelsz=2 > /dev/null out=0.v
	Window3d < ${PERM}/7000marm.bkim.comb4.H min1=1000 max1=9000 min2=0 n2=1 |Transp |\
	Grey title="a)" pclip=99 label1="depth(m)" titlesz=2 o2num=2000 d2num=1000 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="distance(m)" screenratio=4 screenht=2 screenwd=4 wheretitle=b grid= 1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=y labelsz=2 > /dev/null out=1.v
	Window3d < ${PERM}/7000marm.bkim.comb16.H n1=1 min1=2760 | Transp |\
	Grey title=" " pclip=99 label1="depth(m)" titlesz=2 o2num=-200 d2num=200 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="offset(m)" screenratio=4 screenht=2 screenwd=1 grid= 1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=n labelsz=2 > /dev/null out=2.v
	Window3d < ${PERM}/7000marm.bkim.comb16.H min1=1000 max1=9000 min2=0 n2=1 |Transp |\
	Grey title="b)" pclip=99 label1="depth(m)" titlesz=2 o2num=2000 d2num=1000 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="distance(m)" screenratio=4 screenht=2 screenwd=4 wheretitle=b grid= 1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=3.v
	vppen < 0.v xcenter=-1. ycenter=-7 vpstyle=n > j0.v
	vppen < 1.v xcenter=-1.25 ycenter=-7 vpstyle=n > j1.v
	vppen < 2.v xcenter=-1. ycenter=-5.2 vpstyle=n > j2.v
	vppen < 3.v xcenter=-1.25 ycenter=-5.2 vpstyle=n > j3.v
	vp_Overlay j0.v j1.v j2.v j3.v > ${R}/$@	

perm03.v:
	Window3d < ${PERM}/7000marm.bkim.comb1.H n1=1 min1=2760|Transp|Pad end2=100|OFF2ANG amax=40 eps=5 > 1.H 
	< 1.H Window3d min2=-5 | Grey title=" " pclip=99 label1="depth(m)" titlesz=2 o2num=0 d2num=20 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="angle(deg)" screenratio=4 screenht=2 screenwd=1 grid= 1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=y labelsz=2 > /dev/null out=0.v
	< 1.H ${Tese}/bin/OW_semblance.x adj=1 orho=0.7 drho=0.01 nrho=61 eps=0.00 alfa1=13 alfa2=13 niter=1 > 2.H
	< 2.H Interp d2out=0.002 | Envelope tc1=20 | Grey title=" a)" newclip=1 label1="depth(m)" titlesz=2 \
	o2num=0.8 d2num=.2 n2tic=0 color=j \
	o1num=1000 d1num=1000 n1tic=0 label2="rho" screenratio=4 screenht=2 screenwd=1 grid= 1 gridfat=0 \
	axisfat=2,2 wantaxis1=y wantaxis2=y labelsz=2 > /dev/null out=0a.v
#
	Window3d<${PERM}/7000marm.bkim.samp16.H n1=1 min1=2760|Transp|Pad end2=100|OFF2ANG amax=40 eps=5 > 1.H 
	< 1.H Window3d min2=-5 |Grey title=" " pclip=99 label1="depth(m)" titlesz=2 o2num=0 d2num=20 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="angle(deg)" screenratio=4 screenht=2 screenwd=1 grid= 1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=y labelsz=2 > /dev/null out=1.v
	< 1.H ${Tese}/bin/OW_semblance.x adj=1 orho=0.7 drho=0.01 nrho=61 eps=0.00 alfa1=13 alfa2=13 niter=1 > 2.H
	< 2.H Interp d2out=0.002 | Envelope tc1=20 | Grey title=" b)" newclip=1 label1="depth(m)" titlesz=2 \
	o2num=0.8 d2num=.2 n2tic=0 color=j \
	o1num=1000 d1num=1000 n1tic=0 label2="rho" screenratio=4 screenht=2 screenwd=1 grid= 1 gridfat=0 \
	axisfat=2,2 wantaxis1=n wantaxis2=y labelsz=2 > /dev/null out=1a.v
#
	Window3d<${PERM}/7000marm.bkim.comb16.H n1=1 min1=2760|Transp|Pad end2=100|OFF2ANG amax=40 eps=5 > 1.H 
	< 1.H Window3d min2=-5 |Grey title=" " pclip=99 label1="depth(m)" titlesz=2 o2num=0 d2num=20 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="angle(deg)" screenratio=4 screenht=2 screenwd=1 grid= 1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=y labelsz=2 > /dev/null out=2.v
	< 1.H ${Tese}/bin/OW_semblance.x adj=1 orho=0.7 drho=0.01 nrho=61 eps=0.00 alfa1=13 alfa2=13 niter=1 > 2.H
	< 2.H Interp d2out=0.002 | Envelope tc1=20 | Grey title=" c)" newclip=1 label1="depth(m)" titlesz=2 \
	o2num=0.8 d2num=.2 n2tic=0 color=j \
	o1num=1000 d1num=1000 n1tic=0 label2="rho" screenratio=4 screenht=2 screenwd=1 grid= 1 gridfat=0 \
	axisfat=2,2 wantaxis1=n wantaxis2=y labelsz=2 > /dev/null out=2a.v
	vppen < 0.v xcenter=-1. ycenter=-7 vpstyle=n > j0.v
	vppen < 1.v xcenter=-2. ycenter=-7 vpstyle=n > j1.v
	vppen < 2.v xcenter=-3. ycenter=-7 vpstyle=n > j2.v
	vppen < 0a.v xcenter=-1. ycenter=-5.2 vpstyle=n > j0a.v
	vppen < 1a.v xcenter=-2. ycenter=-5.2 vpstyle=n > j1a.v
	vppen < 2a.v xcenter=-3. ycenter=-5.2 vpstyle=n > j2a.v
	vp_Overlay j0.v j1.v j2.v j0a.v j1a.v j2a.v > ${R}/$@	

refpl01.v: # plane reflector: shot profile
	Window3d < ${PERM}/plane.bslo.H n1=1 min1=0 max2=400| Transp |\
	Grey title=" " pclip=100 label1="depth(m)" titlesz=2 o2num=-200 d2num=200 n2tic=0 \
	o1num=500 d1num=500 n1tic=0 label2="offset(m)" screenratio=4 screenht=2 screenwd=1 grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=y labelsz=2 > /dev/null out=0.v
	Window3d < ${PERM}/plane.bslo.H min1=-1500 max1=1500 min2=0 n2=1 |Transp |\
	Grey title=" " pclip=100 label1="depth(m)" titlesz=2 o2num=-1000 d2num=500 n2tic=0 \
	o1num=500 d1num=500 n1tic=0 label2="distance(m)" screenratio=4 screenht=2 screenwd=4 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=y labelsz=2 > /dev/null out=1.v
	vppen < 0.v xcenter=-1. ycenter=-7 vpstyle=n > j0.v
	vppen < 1.v xcenter=-1.25 ycenter=-7 vpstyle=n > j1.v
	vp_Overlay j0.v j1.v > ${R}/$@	

refpl02.v: # plane reflector: perm data
	< ${PERM}/plane.crec.single.perm.H Window3d min1=-1500 max1=1500 squeeze=n | Transp plane=35 | Transf | Window3d max1=2 | \
	Grey title="a)" pclip=100 label1="time(s)" titlesz=2 o2num=-1000 d2num=500 n2tic=0 \
	o1num=0 d1num=.5 n1tic=0 label2="distance(m)" screenratio=4 screenht=3 screenwd=4 grid=1 gridfat=0  axisfat=2,2  axisfat=2,2 \
	wantaxis1=y wantaxis2=y labelsz=3 titlesz=3 > /dev/null out=0.v
	< ${PERM}/plane.csou.single.perm.H Window3d min1=-1500 max1=1500 squeeze=n | Transp plane=35 | Transf | Window3d | Reverse which=1 opt=no | Reverse which=1 opt=ignore | Window3d min1=-2 | \
	Grey title="b)" pclip=100 label1="time(s)" titlesz=2 o2num=-1000 d2num=500 n2tic=0 \
	o1num=-1.5 d1num=.5 n1tic=0 label2="distance(m)" screenratio=4 screenht=3 screenwd=4 grid=1 gridfat=0  axisfat=2,2  axisfat=2,2  \
	wantaxis1=y wantaxis2=y labelsz=3 titlesz=3 > /dev/null out=1.v
	vppen < 0.v xcenter=-1. ycenter=-3 vpstyle=n > j0.v
	vppen < 1.v xcenter=-4.5 ycenter=-3 vpstyle=n > j1.v
	vp_Overlay j0.v j1.v > ${R}/$@	


refpl03.v: # plane reflector: areal-shot migration of isolated SODCIG perm data
	Window3d < ${PERM}/plane.bslo.single.perm.H n1=1 min1=0 max2=400| Transp |\
	Grey title=" " pclip=100  label1="depth(m)" titlesz=2 o2num=-200 d2num=200 n2tic=0 \
	o1num=500 d1num=500 n1tic=1 label2="offset(m)" screenratio=4 screenht=2 screenwd=1 grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=y labelsz=2 > /dev/null out=0.v
	Window3d < ${PERM}/plane.bslo.single.perm.H min1=-1500 max1=1500 min2=0 n2=1 |Transp |\
	Grey title=" " pclip=100  label1="depth(m)" titlesz=2 o2num=-1000 d2num=500 n2tic=0 \
	o1num=500 d1num=500 n1tic=1 label2="distance(m)" screenratio=4 screenht=2 screenwd=4 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=y labelsz=2 > /dev/null out=1.v
	vppen < 0.v xcenter=-1. ycenter=-7 vpstyle=n > j0.v
	vppen < 1.v xcenter=-1.25 ycenter=-7 vpstyle=n > j1.v
	vp_Overlay j0.v j1.v > ${R}/$@	

refpl04.v: # plane reflector: areal-shot migration of set of SODCIG perm data
	Window3d < ${PERM}/plane.bslo.perm.163.H n1=1 min1=0 max2=400| Transp |\
	Grey title=" " pclip=100 label1="depth(m)" titlesz=2 o2num=-200 d2num=200 n2tic=0 \
	o1num=500 d1num=500 n1tic=1 label2="offset(m)" screenratio=4 screenht=2 screenwd=1 grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=y labelsz=2 > /dev/null out=0.v
	Window3d < ${PERM}/plane.bslo.perm.163.H min1=-1500 max1=1500 min2=0 n2=1 |Transp |\
	Grey title=" " pclip=100 label1="depth(m)" titlesz=2 o2num=-1000 d2num=500 n2tic=0 \
	o1num=500 d1num=500 n1tic=1 label2="distance(m)" screenratio=4 screenht=2 screenwd=4 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=y labelsz=2 > /dev/null out=1.v
	vppen < 0.v xcenter=-1. ycenter=-7 vpstyle=n > j0.v
	vppen < 1.v xcenter=-1.25 ycenter=-7 vpstyle=n > j1.v
	vp_Overlay j0.v j1.v > ${R}/$@	

refpl05.v: # plane reflector: ADCIG comparison
	Window3d < ${PERM}/plane.bslo.H n1=1 min1=0 | Transp | Pad beg2=150 end2=150 | OFF2ANG amax=50 eps=10 > 0.H
	< 0.H Window3d | Grey title=" " pclip=100 label1="depth(m)" titlesz=2 o2num=-40 d2num=20 n2tic=0 \
	o1num=500 d1num=500 n1tic=1 label2="angle(deg)" screenratio=4 screenht=1.25 screenwd=1 grid=1 gridfat=0  axisfat=1,1  wheretitle=b \
	wantaxis1=y wantaxis2=y labelsz=1.2 titlesz=1.2 > /dev/null out=0.v
	< 0.H Interp d1out=0.5 | ${Tese}/bin/ampick.x | Scale scale_to=1 > 0p.H
	< 0p.H Graph title="a)" label1=" " titlesz=2 o1num=-40 d1num=20 n2tic=0 \
	o2num=0.5 d2num=1 n1tic=1 label2="amp" screenratio=4 screenht=.25 screenwd=1 grid=1 gridfat=0  axisfat=1,1  wheretitle=b \
	wantaxis1=n wantaxis2=y labelsz=1.2 titlesz=1.2 > /dev/null out=0p.v
#
	Window3d < ${PERM}/plane.bslo.single.perm.H n1=1 min1=0 | Transp | Pad beg2=150 end2=150 | OFF2ANG amax=50 eps=10 > 0.H
	< 0.H Window3d | Grey title=" " pclip=100 label1=" " titlesz=2 o2num=-40 d2num=20 n2tic=0 \
	o1num=500 d1num=500 n1tic=1 label2="angle(deg)" screenratio=4 screenht=1.25 screenwd=1 grid=1 gridfat=0  axisfat=1,1  wheretitle=b \
	wantaxis1=n wantaxis2=y labelsz=1.2 titlesz=1.2 > /dev/null out=1.v
	< 0.H Interp d1out=0.5 | ${Tese}/bin/ampick.x | Scale scale_to=1 > 0p.H
	< 0p.H Graph title="b)" label1=" " titlesz=2 o1num=-40 d1num=20 n2tic=0 \
	o2num=0.5 d2num=1 n1tic=1 label2=" " screenratio=4 screenht=.25 screenwd=1 grid=1 gridfat=0  axisfat=1,1  wheretitle=b \
	wantaxis1=n wantaxis2=n labelsz=1.2 titlesz=1.2 > /dev/null out=1p.v
#
	Window3d < ${PERM}/plane.bslo.perm.163.H n1=1 min1=0 | Transp | Pad beg2=150 end2=150 | OFF2ANG amax=50 eps=10 > 0.H
	< 0.H Window3d | Grey title=" " pclip=100 label1=" " titlesz=2 o2num=-40 d2num=20 n2tic=0 \
	o1num=500 d1num=500 n1tic=1 label2="angle(deg)" screenratio=4 screenht=1.25 screenwd=1 grid=1 gridfat=0  axisfat=1,1  wheretitle=b \
	wantaxis1=n wantaxis2=y labelsz=1.2 titlesz=1.2 > /dev/null out=2.v
	< 0.H Interp d1out=0.5 | ${Tese}/bin/ampick.x | Scale scale_to=1 > 0p.H
	< 0p.H Graph title="c)" label1=" " titlesz=2 o1num=-40 d1num=20 n2tic=0 \
	o2num=0.5 d2num=1 n1tic=1 label2=" " screenratio=4 screenht=.25 screenwd=1 grid=1 gridfat=0  axisfat=1,1  wheretitle=b \
	wantaxis1=n wantaxis2=n labelsz=1.2 titlesz=1.2 > /dev/null out=2p.v
#
	vppen < 0.v xcenter=-1. ycenter=-7 vpstyle=n > j0.v
	vppen < 1.v xcenter=-1.9. ycenter=-7 vpstyle=n > j1.v
	vppen < 2.v xcenter=-2.8. ycenter=-7 vpstyle=n > j2.v
	vppen < 0p.v xcenter=-1. ycenter=-6.91 vpstyle=n > j0p.v
	vppen < 1p.v xcenter=-1.9. ycenter=-6.91 vpstyle=n > j1p.v
	vppen < 2p.v xcenter=-2.8. ycenter=-6.91 vpstyle=n > j2p.v
	vp_Overlay j0.v j1.v j2.v j0p.v j1p.v j2p.v > ${R}/$@	

refpl06.v: # plane reflector: areal-shot migration of set of SODCIG perm data correct velocity
	Window3d < ${PERM}/plane.tslo.perm.163.H n1=1 min1=0 max2=400| Transp |\
	Grey title=" " pclip=100 label1="depth(m)" titlesz=2 o2num=-200 d2num=200 n2tic=0 \
	o1num=500 d1num=500 n1tic=1 label2="offset(m)" screenratio=4 screenht=2 screenwd=1 grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=y labelsz=2 > /dev/null out=0.v
	Window3d < ${PERM}/plane.tslo.perm.163.H min1=-1500 max1=1500 min2=0 n2=1 |Transp |\
	Grey title=" " pclip=100 label1="depth(m)" titlesz=2 o2num=-1000 d2num=500 n2tic=0 \
	o1num=500 d1num=500 n1tic=1 label2="distance(m)" screenratio=4 screenht=2 screenwd=4 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=y labelsz=2 > /dev/null out=1.v
	vppen < 0.v xcenter=-1. ycenter=-7 vpstyle=n > j0.v
	vppen < 1.v xcenter=-1.25 ycenter=-7 vpstyle=n > j1.v
	vp_Overlay j0.v j1.v > ${R}/$@	

refpl07.v: # plane reflector: waveform comparison
	Window3d < ${PERM}/plane.bslo.H n1=1 min1=0 min2=0 n2=1 min3=1000 max3=1200 | Scale scale_to=1 | Interp d1out=1 | \
	Graph label1="depth(m)" label2="amplitude" title=" " dash=3 o1num=1050 d1num=50 o2num=-1 d2num=0.5 plotcol=6 min2=-1.5 \
	max2=1.5 grid=1 > /dev/null out=0.v
	Window3d < ${PERM}/plane.bslo.perm.163.H n1=1 min1=0 min2=0 n2=1 min3=1000 max3=1200 | Scale scale_to=1 | Interp d1out=1 | \
	Graph label1="depth(m)" label2="amplitude" title=" " dash=0 o1num=1050 d1num=50 o2num=-1 d2num=0.5 plotcol=5 min2=-1.5 \
	max2=1.5 grid=1 n1tic= 5 n2tic= 5 > /dev/null out=1.v
	vp_Overlay 0.v 1.v > ${R}/$@	

dip01.v: # dipping reflector: shot profile
	Window3d < ${PERM}/dip.bslo.H n1=1 min1=0 max2=400| Transp |\
	Grey title=" " pclip= 100 label1="depth(m)" titlesz=2 o2num=-200 d2num=200 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="offset(m)" screenratio=4 screenht=2 screenwd=1 grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=y labelsz=2 > /dev/null out=0.v
	Window3d < ${PERM}/dip.bslo.H min1=-4000 max1=4000 min2=0 n2=1 |Transp |\
	Grey title=" " pclip= 100 label1="depth(m)" titlesz=2 o2num=-3000 d2num=1000 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="distance(m)" screenratio=4 screenht=2 screenwd=4 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=y labelsz=2 > /dev/null out=1.v
	vppen < 0.v xcenter=-1. ycenter=-7 vpstyle=n > j0.v
	vppen < 1.v xcenter=-1.25 ycenter=-7 vpstyle=n > j1.v
	vp_Overlay j0.v j1.v > ${R}/$@	

dip02.v: # dipping reflector: perm data
	< ${PERM}/dip.crec.single.perm.H Window3d min1=-2000 max1=2000 squeeze=n | Transp plane=35 | Transf | Window3d max1=4.5 | \
	Grey title="a)" pclip=100 label1="time(s)" titlesz=2 o2num=-1000 d2num=1000 n2tic=0 \
	o1num=0 d1num=1. n1tic=0 label2="distance(m)" screenratio=4 screenht=3 screenwd=4 grid=1 gridfat=0  axisfat=2,2  axisfat=2,2 \
	wantaxis1=y wantaxis2=y labelsz=3 titlesz=3 > /dev/null out=0.v
	< ${PERM}/dip.csou.single.perm.H Window3d min1=-2000 max1=2000 squeeze=n | Transp plane=35 | Transf | Window3d | Reverse which=1 opt=no | Reverse which=1 opt=ignore | Window3d min1=-4.5 | \
	Grey title="b)" pclip=100 label1="time(s)" titlesz=2 o2num=-1000 d2num=1000 n2tic=0 \
	o1num=-4 d1num=1. n1tic=0 label2="distance(m)" screenratio=4 screenht=3 screenwd=4 grid=1 gridfat=0  axisfat=2,2  axisfat=2,2  \
	wantaxis1=y wantaxis2=y labelsz=3 titlesz=3 > /dev/null out=1.v
	vppen < 0.v xcenter=-1. ycenter=-3 vpstyle=n > j0.v
	vppen < 1.v xcenter=-4.5 ycenter=-3 vpstyle=n > j1.v
	vp_Overlay j0.v j1.v > ${R}/$@	

dip03.v: # dipping reflector: areal profile single
	Window3d < ${PERM}/dip.tslo.single.perm.H n1=1 min1=0 max2=400| Transp |\
	Grey title=" " pclip=100 label1="depth(m)" titlesz=2 o2num=-200 d2num=200 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="offset(m)" screenratio=4 screenht=2 screenwd=1 grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=y labelsz=2 > /dev/null out=0.v
	Window3d < ${PERM}/dip.tslo.single.perm.H min1=-2000 max1=2000 min2=0 n2=1 |Transp |\
	Grey title=" " pclip=100 label1="depth(m)" titlesz=2 o2num=-1500 d2num=500 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="distance(m)" screenratio=4 screenht=2 screenwd=4 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=y labelsz=2 > /dev/null out=1.v
	vppen < 0.v xcenter=-1. ycenter=-7 vpstyle=n > j0.v
	vppen < 1.v xcenter=-1.25 ycenter=-7 vpstyle=n > j1.v
	vp_Overlay j0.v j1.v > ${R}/$@	

dip04.v: # dipping reflector: areal profile 163
	Window3d < ${PERM}/dip.tslo.perm.163.H n1=1 min1=0 max2=400| Transp |\
	Grey title=" " pclip=100 label1="depth(m)" titlesz=2 o2num=-200 d2num=200 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="offset(m)" screenratio=4 screenht=2 screenwd=1 grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=y labelsz=2 > /dev/null out=0.v
	Window3d < ${PERM}/dip.tslo.perm.163.H min1=-2000 max1=2000 min2=0 n2=1 |Transp |\
	Grey title=" " pclip=100 label1="depth(m)" titlesz=2 o2num=-1500 d2num=500 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="distance(m)" screenratio=4 screenht=2 screenwd=4 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=y labelsz=2 > /dev/null out=1.v
	vppen < 0.v xcenter=-1. ycenter=-7 vpstyle=n > j0.v
	vppen < 1.v xcenter=-1.25 ycenter=-7 vpstyle=n > j1.v
	vp_Overlay j0.v j1.v > ${R}/$@	

dip05.v: # dipping reflector: rotation
	Window3d < ${PERM}/j2.sou.H n3=1 min3=0 max2=400 |\
	Grey title=" " pclip=100 label1="depth(m)" titlesz=2 o2num=-200 d2num=200 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="offset(m)" screenratio=4 screenht=2 screenwd=1 grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=y labelsz=2 > /dev/null out=0.v
	Window3d < ${PERM}/j2.sou.H min3=-810 max3=820 min2=0 n2=1 |Pad beg2=300 end2=300 |Window3d min2=-2000 max2=2000 |\
	Grey title=" a)" pclip=100 label1="depth(m)" titlesz=2 o2num=-1500 d2num=500 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="distance(m)" screenratio=4 screenht=2 screenwd=4 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=y labelsz=2 > /dev/null out=1.v
	Window3d < ${PERM}/j2.rec.H n3=1 min3=0 max2=400| \
	Grey title=" " pclip=100 label1="depth(m)" titlesz=2 o2num=-200 d2num=200 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="offset(m)" screenratio=4 screenht=2 screenwd=1 grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=n labelsz=2 > /dev/null out=2.v
	Window3d < ${PERM}/j2.rec.H min3=-810 max3=820 min2=0 n2=1 |Pad beg2=300 end2=300  | Window3d min2=-2000 max2=2000 |\
	Grey title=" b)" pclip=100 label1="depth(m)" titlesz=2 o2num=-1500 d2num=500 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="distance(m)" screenratio=4 screenht=2 screenwd=4 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=3.v
	vppen < 0.v xcenter=-1. ycenter=-7 vpstyle=n > j0.v
	vppen < 1.v xcenter=-1.25 ycenter=-7 vpstyle=n > j1.v
	vppen < 2.v xcenter=-1. ycenter=-5.2 vpstyle=n > j2.v
	vppen < 3.v xcenter=-1.25 ycenter=-5.2 vpstyle=n > j3.v
	vp_Overlay j0.v j1.v j2.v j3.v > ${R}/$@	

dip06.v: # dipping reflector: perm data
	Transp plane=35 < ${PERM}/dip.crec.single.perm.rot.H | Transf | Window3d max1=4.5 min2=-2000 max2=2000 | Transp plane=23 | \
	Stack3d | Window3d | \
	Grey title="b)" pclip=100 label1="time(s)" titlesz=2 o2num=-1000 d2num=1000 n2tic=0 \
	o1num=0 d1num=1. n1tic=0 label2="distance(m)" screenratio=4 screenht=3 screenwd=4 grid=1 gridfat=0  axisfat=2,2  axisfat=2,2 \
	wantaxis1=y wantaxis2=y labelsz=3 titlesz=3 > /dev/null out=0.v
	Transp plane=35 < ${PERM}/dip.csou.single.perm.rot.H | Transf | Window3d min2=-2000 max2=2000 | Transp plane=23 | \
	Stack3d | Window3d|Reverse which=1 opt=no|Reverse which=1 opt=ignore | \
	Window3d min1=-4.5 | \
	Grey title="a)" pclip=100 label1="time(s)" titlesz=2 o2num=-1000 d2num=1000 n2tic=0 \
	o1num=-4 d1num=1. n1tic=0 label2="distance(m)" screenratio=4 screenht=3 screenwd=4 grid=1 gridfat=0  axisfat=2,2  axisfat=2,2  \
	wantaxis1=y wantaxis2=y labelsz=3 titlesz=3 > /dev/null out=1.v
	vppen < 1.v xcenter=-1. ycenter=-3 vpstyle=n > j1.v
	vppen < 0.v xcenter=-4.5 ycenter=-3 vpstyle=n > j0.v
	vp_Overlay j0.v j1.v > ${R}/$@	

dip07.v: # dipping reflector: areal profile rotation
	Window3d < ${PERM}/dip.tslo.single.perm.rot.H n1=1 min1=-90 max2=400| Transp |\
	Grey title=" " pclip=100 label1="depth(m)" titlesz=2 o2num=-200 d2num=200 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="offset(m)" screenratio=4 screenht=2 screenwd=1 grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=y labelsz=2 > /dev/null out=0.v
	Window3d < ${PERM}/dip.tslo.single.perm.rot.H min1=-2000 max1=2000 min2=0 n2=1 |Transp |\
	Grey title=" " pclip=100 label1="depth(m)" titlesz=2 o2num=-1500 d2num=500 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="distance(m)" screenratio=4 screenht=2 screenwd=4 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=y labelsz=2 > /dev/null out=1.v
	vppen < 0.v xcenter=-1. ycenter=-7 vpstyle=n > j0.v
	vppen < 1.v xcenter=-1.25 ycenter=-7 vpstyle=n > j1.v
	vp_Overlay j0.v j1.v > ${R}/$@	

dip08.v: # dipping reflector: areal profile rotation
	Window3d < ${PERM}/dip.tslo.perm.163.rot.H n1=1 min1=0 max2=400| Transp |\
	Grey title=" " pclip=100 label1="depth(m)" titlesz=2 o2num=-200 d2num=200 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="offset(m)" screenratio=4 screenht=2 screenwd=1 grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=y labelsz=2 > /dev/null out=0.v
	Window3d < ${PERM}/dip.tslo.perm.163.rot.H min1=-2000 max1=2000 min2=0 n2=1| Transp |\
	Grey title=" " pclip=100 label1="depth(m)" titlesz=2 o2num=-1500 d2num=500 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="distance(m)" screenratio=4 screenht=2 screenwd=4 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=y labelsz=2 > /dev/null out=1.v
	vppen < 0.v xcenter=-1. ycenter=-7 vpstyle=n > j0.v
	vppen < 1.v xcenter=-1.25 ycenter=-7 vpstyle=n > j1.v
	vp_Overlay j0.v j1.v > ${R}/$@	

dip09.v: # plane reflector: ADCIG comparison
	Window3d < ${PERM}/dip.tslo.perm.163.H n1=1 min1=0 | Transp | Pad beg2=150 end2=150 | OFF2ANG amax=50 eps=10 > 0.H
	< 0.H Window3d | Grey title="a)" pclip=100 label1="depth(m)" titlesz=2 o2num=-40 d2num=20 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=1 label2="angle(deg)" screenratio=4 screenht=2.5 screenwd=2 grid=1 gridfat=0  axisfat=0,0  wheretitle=b \
	wantaxis1=y wantaxis2=y labelsz=2 titlesz=2 > /dev/null out=0.v
	Window3d < ${PERM}/dip.tslo.perm.163.rot.H n1=1 min1=0 | Transp | Pad beg2=150 end2=150 | OFF2ANG amax=50 eps=10 > 0.H
	< 0.H Window3d | Grey title="b)" pclip=100 label1=" " titlesz=2 o2num=-40 d2num=20 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=1 label2="angle(deg)" screenratio=4 screenht=2.5 screenwd=2 grid=1 gridfat=0  axisfat=0,0  wheretitle=b \
	wantaxis1=n wantaxis2=y labelsz=2 titlesz=2 > /dev/null out=1.v
	vppen < 0.v xcenter=-1. ycenter=-7 vpstyle=n > j0.v
	vppen < 1.v xcenter=-2.8 ycenter=-7 vpstyle=n > j1.v
	vp_Overlay j0.v j1.v > ${R}/$@	

comb01b.v:
	Window3d < ${PERM}/comb.bslo.perm.163.rot.H n1=1 min1=0 max2=400| Transp |\
	Grey title=" " pclip=99 label1="depth(m)" titlesz=2 o2num=-200 d2num=200 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="offset(m)" screenratio=4 screenht=2 screenwd=1 grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=n labelsz=2 > /dev/null out=4.v
	Window3d < ${PERM}/comb.bslo.perm.163.rot.H min1=-4000 max1=4000 min2=0 n2=1| Transp |\
	Grey title=" c)" pclip=99 label1="depth(m)" titlesz=2 o2num=-3000 d2num=1000 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="distance(m)" screenratio=4 screenht=2 screenwd=4 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=5.v
#
	vppen < 4.v xcenter=-1. ycenter=-7 vpstyle=n > j4.v
	vppen < 5.v xcenter=-1.25 ycenter=-7 vpstyle=n > j5.v
	vp_Overlay j4.v j5.v > ${R}/$@	
	
comb02.v:
	Window3d < ${PERM}/xxx.1.48.H n1=1 min1=0 max2=400| Transp |\
	Grey title=" " pclip=99 label1="depth(m)" titlesz=2 o2num=-200 d2num=200 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="offset(m)" screenratio=4 screenht=2 screenwd=1 grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=y labelsz=2 > /dev/null out=0.v
	Window3d < ${PERM}/xxx.1.48.H min1=-4000 n1=800 min2=0 n2=1| Transp |\
	Grey title=" a)" pclip=99 label1="depth(m)" titlesz=2 o2num=-3000 d2num=1000 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="distance(m)" screenratio=4 screenht=2 screenwd=4 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=y labelsz=2 > /dev/null out=1.v
#
	vppen < 0.v xcenter=-1. ycenter=-7 vpstyle=n > j0.v
	vppen < 1.v xcenter=-1.25 ycenter=-7 vpstyle=n > j1.v
	vp_Overlay j0.v j1.v > j2.v
	vp_annotate < j2.v batch=y text=comb02.txt | vppen vpstyle=n > ${R}/$@

comb03.v:
	Window3d < ${PERM}/green_SR.H min2=-4000 n2=800 min3=0.14 n3=1 | Grey title=" a)" pclip=99.5 label1="depth(m)" titlesz=2 o2num=-3000 d2num=1000 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="distance(m)" screenratio=4 screenht=1.3 screenwd=4 grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=y labelsz=2 > /dev/null out=1a.v
	Window3d < ${PERM}/green_SR.H min2=3290 n2=1 max3=2 |Grey title=" " pclip=99.5 label1="depth(m)" titlesz=2 o2num=0.5 d2num=1 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="time(s)" screenratio=4 screenht=1.3 screenwd=1 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=y labelsz=2 > /dev/null out=1b.v
#
	Window3d < ${PERM}/green_SR.H min2=-4000 n2=800 min3=0.39 n3=1 | Grey title=" b)" pclip=99.5 label1="depth(m)" titlesz=2 o2num=-3000 d2num=1000 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="distance(m)" screenratio=4 screenht=1.3 screenwd=4 grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=2a.v
	Window3d < ${PERM}/green_SR.H min2=1610 n2=1 max3=2 |Grey title=" " pclip=99.5 label1="depth(m)" titlesz=2 o2num=0.5 d2num=1 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="time(s)" screenratio=4 screenht=1.3 screenwd=1 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=n labelsz=2 > /dev/null out=2b.v
#
	Window3d < ${PERM}/green_SR.H min2=-4000 n2=800 min3=0.688 n3=1 | Grey title=" c)" pclip=99.5 label1="depth(m)" titlesz=2 o2num=-3000 d2num=1000 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="distance(m)" screenratio=4 screenht=1.3 screenwd=4 grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=3a.v
	Window3d < ${PERM}/green_SR.H min2=-10 n2=1 max3=2 |Grey title=" " pclip=99.5 label1="depth(m)" titlesz=2 o2num=0.5 d2num=1 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="time(s)" screenratio=4 screenht=1.3 screenwd=1 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=n labelsz=2 > /dev/null out=3b.v
#
	Window3d < ${PERM}/green_SR.H min2=-4000 n2=800 min3=0.98 n3=1 | Grey title=" d)" pclip=99.5 label1="depth(m)" titlesz=2 o2num=-3000 d2num=1000 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="distance(m)" screenratio=4 screenht=1.3 screenwd=4 grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=4a.v
	Window3d < ${PERM}/green_SR.H min2=-1630 n2=1 max3=2 |Grey title=" " pclip=99.5 label1="depth(m)" titlesz=2 o2num=0.5 d2num=1 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="time(s)" screenratio=4 screenht=1.3 screenwd=1 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=n labelsz=2 > /dev/null out=4b.v
#
	Window3d < ${PERM}/green_SR.H min2=-4000 n2=800 min3=1.23 n3=1 | Grey title=" e)" pclip=99.5 label1="depth(m)" titlesz=2 o2num=-3000 d2num=1000 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="distance(m)" screenratio=4 screenht=1.3 screenwd=4 grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=5a.v
	Window3d < ${PERM}/green_SR.H min2=-3180 n2=1 max3=2 |Grey title=" " pclip=99.5 label1="depth(m)" titlesz=2 o2num=0.5 d2num=1 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="time(s)" screenratio=4 screenht=1.3 screenwd=1 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=n labelsz=2 > /dev/null out=5b.v
#
	vppen < 1a.v xcenter=-1. ycenter=-6.7 vpstyle=n > j2.v
	vppen < 1b.v xcenter=-.75 ycenter=-6.7 vpstyle=n > j3.v
	vppen < 2a.v xcenter=-1. ycenter=-5.55 vpstyle=n > j4.v
	vppen < 2b.v xcenter=-.75 ycenter=-5.55 vpstyle=n > j5.v
	vppen < 3a.v xcenter=-1. ycenter=-4.4 vpstyle=n > j6.v
	vppen < 3b.v xcenter=-.75 ycenter=-4.4 vpstyle=n > j7.v
	vppen < 4a.v xcenter=-1. ycenter=-3.25 vpstyle=n > j8.v
	vppen < 4b.v xcenter=-.75 ycenter=-3.25 vpstyle=n > j9.v
	vppen < 5a.v xcenter=-1. ycenter=-2.1 vpstyle=n > j10.v
	vppen < 5b.v xcenter=-.75 ycenter=-2.1 vpstyle=n > j11.v
	vp_Overlay j2.v j3.v j4.v j5.v j6.v j7.v j8.v j9.v j10.v j11.v > j12.v
	vp_annotate < j12.v batch=y text=comb03.txt | vppen vpstyle=n > ${R}/$@

comb04.v:
	Window3d < ${PERM}/comb_migfull.perm.icwind.0.06.H n1=1 min1=0 max2=400| Transp |\
	Grey title=" " pclip=98.5 label1="depth(m)" titlesz=2 o2num=-200 d2num=200 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="offset(m)" screenratio=4 screenht=2 screenwd=1 grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=y labelsz=2 > /dev/null out=0.v
	Window3d < ${PERM}/comb_migfull.perm.icwind.0.06.H min1=-4000 max1=4000 min2=0 n2=1| Transp |\
	Grey title=" a)" pclip=98.5 label1="depth(m)" titlesz=2 o2num=-3000 d2num=1000 n2tic=0 \
	o1num=1000 d1num=1000 n1tic=0 label2="distance(m)" screenratio=4 screenht=2 screenwd=4 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=y labelsz=2 > /dev/null out=1.v
#
	vppen < 0.v xcenter=-1. ycenter=-7 vpstyle=n > j0.v
	vppen < 1.v xcenter=-1.25 ycenter=-7 vpstyle=n > j1.v
	vp_Overlay j0.v j1.v > ${R}/$@	
	
# Window3d < dip30_CAM_vslow.interp.H min1=0 max1=1500 min2=600 n2=1 max5=1000 min3=-250 n3=21 
cam02.v:
	Window3d < ${PERM}/dip30_CAM_vslow.interp.H n2=1 min2=600 n1=1 min1=750 max5=1000 min3=-250 n3=21 | Transp | \
	Grey title=" " label1="depth(m)" titlesz=2 o2num=-200 d2num=200 n2tic=0 \
	o1num=500 d1num=500 n1tic=0 label2="offset_x(m)" screenratio=4 screenht=2 screenwd=1 grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=y labelsz=2 pclip=98.  > /dev/null out=0.v
	Window3d < ${PERM}/dip30_CAM_vslow.interp.H n2=1 min2=600 min1=0 max1=1500 min3=0 n3=1 max5=1000| Transp| \
	Grey title="                  a)" \
	label1="depth(m)" titlesz=2 o2num=500 d2num=500 n2tic=0 \
	o1num=500 d1num=500 n1tic=0 label2="x_coord(m)" screenratio=4 screenht=2 screenwd=2 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=y labelsz=2 pclip=98. > /dev/null out=1.v
	Window3d < ${PERM}/dip30_CAM_vslow.interp.H n1=1 min1=750 min3=0 n3=1 min2=0 max2=1500 max5=1000| Transp|\
	Grey title=" " label1="depth(m)" titlesz=2 o2num=500 d2num=500 n2tic=0 \
	o1num=500 d1num=500 n1tic=0 label2="y_coord(m)" screenratio=4 screenht=2 screenwd=2 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=y labelsz=2 pclip=98. > /dev/null out=2.v
#
	Window3d < ${PERM}/dip30_CAM_vslow.interp.H n2=1 min2=1000 n1=1 min1=750 max5=1000 min3=-250 n3=21 | Transp | \
	Grey title=" " label1="depth(m)" titlesz=2 o2num=-200 d2num=200 n2tic=0 \
	o1num=500 d1num=500 n1tic=0 label2="offset_x(m)" screenratio=4 screenht=2 screenwd=1 grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=n labelsz=2 pclip=98.  > /dev/null out=3.v
	Window3d < ${PERM}/dip30_CAM_vslow.interp.H n2=1 min2=1000 min1=0 max1=1500 min3=0 n3=1 max5=1000| Transp| \
	Grey title="                  b)" \
	label1="depth(m)" titlesz=2 o2num=500 d2num=500 n2tic=0 \
	o1num=500 d1num=500 n1tic=0 label2="x_coord(m)" screenratio=4 screenht=2 screenwd=2 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=n labelsz=2 pclip=98. > /dev/null out=4.v
	Window3d < ${PERM}/dip30_CAM_vslow.interp.H n1=1 min1=750 min3=0 n3=1 min2=0 max2=1500 max5=1000| Transp|\
	Grey title=" " label1="depth(m)" titlesz=2 o2num=500 d2num=500 n2tic=0 \
	o1num=500 d1num=500 n1tic=0 label2="y_coord(m)" screenratio=4 screenht=2 screenwd=2 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=n labelsz=2 pclip=98. > /dev/null out=5.v
#
	vppen < 0.v xcenter=-1. ycenter=-7 vpstyle=n > j0.v
	vppen < 1.v xcenter=-1.58 ycenter=-7 vpstyle=n > j1.v
	vppen < 2.v xcenter=-3.05 ycenter=-7 vpstyle=n > j2.v
	vppen < 3.v xcenter=-1. ycenter=-5.2 vpstyle=n > j3.v
	vppen < 4.v xcenter=-1.58 ycenter=-5.2 vpstyle=n > j4.v
	vppen < 5.v xcenter=-3.05 ycenter=-5.2 vpstyle=n > j5.v
	vp_Overlay j0.v j1.v j2.v j3.v j4.v j5.v > ${R}/$@

cam03.v:
	Window3d n4=1 < dip30.rec.gx48gy1f25.H | Transp plane=35 | Transf | Window3d max1=1 | \
	Grey eout=1 pclip=100 gainpanel=a label1="t(s)" label2="x(m)" label3="y(m)" title=" " > a.T
	< a.T Cubeplot flat=1 frame1=85 frame2=67 frame3=48 wantcoordlabel=-1 point1=.7 point2=0.7 title=" " grid=1 > /dev/null out=./${R}/$@
#	Window3d n4=1 < dip30.rec.gx48gy1f25.H | Transp plane=35 | Transf | Window3d > a.H
#	< a.H Window3d min3=1200 n3=1 max2=2000 | Grey title=" " label1="time(s)" titlesz=2 o2num=0 d2num=500 n2tic=0 \
#	o1num=0.5 d1num=0.5 n1tic=0 label2="x(m)" screenratio=4 screenht=2 screenwd=4 grid=1 gridfat=0  axisfat=2,2  \
#	wantaxis1=y wantaxis2=n labelsz=2 pclip=99.9  > /dev/null out=0.v
#	< a.H Window3d min2=1250 n2=1 max3=2000 | Grey title=" " label1="time(s)" titlesz=2 o2num=500 d2num=500 n2tic=0 \
#	o1num=0.5 d1num=0.5 n1tic=0 label2="y(m)" screenratio=4 screenht=2 screenwd=4 grid=0 gridfat=0  axisfat=2,2  \
#	wantaxis1=n wantaxis2=y labelsz=2 pclip=99.9  > /dev/null out=1.v
#	< a.H Window3d min1=0.5 n1=1 max2=2000 max3=2000 | Transp | Reverse which=1 opt=yes |Grey title=" " label2="x(m)" titlesz=2 o2num=0 d2num=500 n2tic=0 \
#	label1="y(m)" o1num=500 d1num=500 n1tic=0 screenratio=4 screenht=4 screenwd=4 grid= 1 gridfat=0  axisfat=2,2  \
#	wantaxis1=y wantaxis2=y labelsz=2 pclip=99.9  > /dev/null out=2.v
#	< a.H Window3d min1=0.5 n1=1 max2=2000 max3=2000 | Transp | Reverse which=1 opt=yes |Grey title=" " label2="x(m)" titlesz=2 o2num=0 d2num=500 n2tic=0 \
#	label1="y(m)" o1num=0 d1num=500 n1tic=0 screenratio=4 screenht=4 screenwd=4 grid=1 gridfat=0  axisfat=2,2  \
#	wantaxis1=y wantaxis2=y labelsz=2 pclip=99.9  > /dev/null out=2.v
#	vppen < 0.v xcenter=-1. ycenter=-5 vpstyle=n > j0.v
#	vppen < 1.v xcenter=-4.5 ycenter=-5 vpstyle=n > j1.v
#	vppen < 2.v xcenter=-1 ycenter=-6.5 vpstyle=n > j2.v
#	vp_Overlay j0.v j1.v j2.v > ${R}/$@

# Window3d < dip30.bimgf25.H min2= 00 n2= 1 min1=0 max1=1500 min3=600 n3=1 max5=1000
cam04.v:
	Window3d < ${PERM}/dip30.bimgf25.H min1=750 n1=1 min3=600 n3=1 max5=1000 | Transp|\
	Grey title=" " label1="depth(m)" titlesz=2 o2num=-200 d2num=200 n2tic=0 polarity=-1 \
	o1num=500 d1num=500 n1tic=0 label2="offset_x(m)" screenratio=4 screenht=2 screenwd=1 grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=y labelsz=2 pclip= 99. > /dev/null out=0.v
	Window3d < ${PERM}/dip30.bimgf25.H min1=0 max1=1500 min3=600 n3=1 min2=0 n2=1 max5=1000 |Transp|\
	Grey title="                  a)" \
	label1="depth(m)" titlesz=2 o2num=500 d2num=500 n2tic=0 \
	o1num=500 d1num=500 n1tic=0 label2="x_coord(m)" screenratio=4 screenht=2 screenwd=2 wheretitle=b grid=1 gridfat=0  axisfat=2,2 polarity=-1 \
	wantaxis1=n wantaxis2=y labelsz=2  pclip= 99. > /dev/null out=1.v
	Window3d < ${PERM}/dip30.bimgf25.H min3=0 max3=1500 n1=1 min1=750 min2=0 n2=1 max5=1000 |Transp|\
	Grey title=" " label1="depth(m)" titlesz=2 o2num=500 d2num=500 n2tic=0  polarity=-1 \
	o1num=500 d1num=500 n1tic=0 label2="y_coord(m)" screenratio=4 screenht=2 screenwd=2 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=y labelsz=2  pclip= 99. > /dev/null out=2.v
#
	Window3d < ${PERM}/dip30.bimgf25.H min1=750 n1=1 min3=1000 n3=1 max5=1000 | Transp|\
	Grey title=" " label1="depth(m)" titlesz=2 o2num=-200 d2num=200 n2tic=0 \
	o1num=500 d1num=500 n1tic=0 label2="offset_x(m)" screenratio=4 screenht=2 screenwd=1 grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=n labelsz=2 pclip= 99. polarity=-1 > /dev/null out=3.v
	Window3d < ${PERM}/dip30.bimgf25.H min1=0 max1=1500 min3=1000 n3=1 min2=0 n2=1 max5=1000 |Transp|\
	Grey title="                  b)" label1="depth(m)" titlesz=2 o2num=500 d2num=500 n2tic=0 \
	o1num=500 d1num=500 n1tic=0 label2="x_coord(m)" screenratio=4 screenht=2 screenwd=2 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=n labelsz=2  pclip= 99. polarity=-1 > /dev/null out=4.v
	Window3d < ${PERM}/dip30.bimgf25.H min3=0 max3=1500 n1=1 min1=750 min2=0 n2=1 max5=1000 |Transp|\
	Grey title=" " label1="depth(m)" titlesz=2 o2num=500 d2num=500 n2tic=0  polarity=-1 \
	o1num=500 d1num=500 n1tic=0 label2="y_coord(m)" screenratio=4 screenht=2 screenwd=2 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=n labelsz=2  pclip= 99. > /dev/null out=5.v
#
	vppen < 0.v xcenter=-1. ycenter=-7 vpstyle=n > j0.v
	vppen < 1.v xcenter=-1.58 ycenter=-7 vpstyle=n > j1.v
	vppen < 2.v xcenter=-3.05 ycenter=-7 vpstyle=n > j2.v
	vppen < 3.v xcenter=-1. ycenter=-5.2 vpstyle=n > j3.v
	vppen < 4.v xcenter=-1.58 ycenter=-5.2 vpstyle=n > j4.v
	vppen < 5.v xcenter=-3.05 ycenter=-5.2 vpstyle=n > j5.v
	vp_Overlay j0.v j1.v j2.v j3.v j4.v j5.v > ${R}/$@	

cam05.v:
	Window3d < ${PERM}/dip30.bimgf25.strch.H min1=750 n1=1 min3=600 n3=1 max5=1000 | Transp|\
	Grey title=" " label1="depth(m)" titlesz=2 o2num=-200 d2num=200 n2tic=0 polarity=-1 \
	o1num=500 d1num=500 n1tic=0 label2="offset_x(m)" screenratio=4 screenht=2 screenwd=1 grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=y labelsz=2 pclip= 99. > /dev/null out=0.v
	Window3d < ${PERM}/dip30.bimgf25.strch.H min1=0 max1=1500 min3=600 n3=1 min2=0 n2=1 max5=1000 |Transp|\
	Grey title="                  a)" \
	label1="depth(m)" titlesz=2 o2num=500 d2num=500 n2tic=0 \
	o1num=500 d1num=500 n1tic=0 label2="x_coord(m)" screenratio=4 screenht=2 screenwd=2 wheretitle=b grid=1 gridfat=0  axisfat=2,2 polarity=-1 \
	wantaxis1=n wantaxis2=y labelsz=2  pclip= 99. > /dev/null out=1.v
	Window3d < ${PERM}/dip30.bimgf25.strch.H min3=0 max3=1500 n1=1 min1=750 min2=0 n2=1 max5=1000 |Transp|\
	Grey title=" " label1="depth(m)" titlesz=2 o2num=500 d2num=500 n2tic=0  polarity=-1 \
	o1num=500 d1num=500 n1tic=0 label2="y_coord(m)" screenratio=4 screenht=2 screenwd=2 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=y labelsz=2  pclip= 99. > /dev/null out=2.v
#
	Window3d < ${PERM}/dip30.bimgf25.strch.H min1=750 n1=1 min3=1000 n3=1 max5=1000 | Transp|\
	Grey title=" " label1="depth(m)" titlesz=2 o2num=-200 d2num=200 n2tic=0 \
	o1num=500 d1num=500 n1tic=0 label2="offset_x(m)" screenratio=4 screenht=2 screenwd=1 grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=y wantaxis2=n labelsz=2 pclip= 99. polarity=-1 > /dev/null out=3.v
	Window3d < ${PERM}/dip30.bimgf25.strch.H min1=0 max1=1500 min3=1000 n3=1 min2=0 n2=1 max5=1000 |Transp|\
	Grey title="                  b)" label1="depth(m)" titlesz=2 o2num=500 d2num=500 n2tic=0 \
	o1num=500 d1num=500 n1tic=0 label2="x_coord(m)" screenratio=4 screenht=2 screenwd=2 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=n labelsz=2  pclip= 99. polarity=-1 > /dev/null out=4.v
	Window3d < ${PERM}/dip30.bimgf25.strch.H min3=0 max3=1500 n1=1 min1=750 min2=0 n2=1 max5=1000 |Transp|\
	Grey title=" " label1="depth(m)" titlesz=2 o2num=500 d2num=500 n2tic=0  polarity=-1 \
	o1num=500 d1num=500 n1tic=0 label2="y_coord(m)" screenratio=4 screenht=2 screenwd=2 wheretitle=b grid=1 gridfat=0  axisfat=2,2  \
	wantaxis1=n wantaxis2=n labelsz=2  pclip= 99. > /dev/null out=5.v
#
	vppen < 0.v xcenter=-1. ycenter=-7 vpstyle=n > j0.v
	vppen < 1.v xcenter=-1.58 ycenter=-7 vpstyle=n > j1.v
	vppen < 2.v xcenter=-3.05 ycenter=-7 vpstyle=n > j2.v
	vppen < 3.v xcenter=-1. ycenter=-5.2 vpstyle=n > j3.v
	vppen < 4.v xcenter=-1.58 ycenter=-5.2 vpstyle=n > j4.v
	vppen < 5.v xcenter=-3.05 ycenter=-5.2 vpstyle=n > j5.v
	vp_Overlay j0.v j1.v j2.v j3.v j4.v j5.v > ${R}/$@	

########################################
#
# pdf figures	
perm01.pdf: perm01.v
	pstexpen ${R}/perm01.v ${R}/perm01.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y
	epstopdf ${R}/perm01.ps

perm02.pdf: perm02.v
	pstexpen ${R}/perm02.v ${R}/perm02.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y
	epstopdf ${R}/perm02.ps

perm03.pdf: perm03.v
	pstexpen ${R}/perm03.v ${R}/perm03.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y
	epstopdf ${R}/perm03.ps

refpl01.pdf: refpl01.v
	pstexpen ${R}/refpl01.v ${R}/refpl01.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y
	epstopdf ${R}/refpl01.ps

refpl02.pdf: refpl02.v
	pstexpen ${R}/refpl02.v ${R}/refpl02.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y
	epstopdf ${R}/refpl02.ps

refpl03.pdf: refpl03.v
	pstexpen ${R}/refpl03.v ${R}/refpl03.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y
	epstopdf ${R}/refpl03.ps

refpl04.pdf: refpl04.v
	pstexpen ${R}/refpl04.v ${R}/refpl04.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y
	epstopdf ${R}/refpl04.ps

refpl05.pdf: refpl05.v
	pstexpen ${R}/refpl05.v ${R}/refpl05.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y
	epstopdf ${R}/refpl05.ps

refpl06.pdf: refpl06.v
	pstexpen ${R}/refpl06.v ${R}/refpl06.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y
	epstopdf ${R}/refpl06.ps

refpl07.pdf: refpl07.v
	pstexpen ${R}/refpl07.v ${R}/refpl07.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y
	epstopdf ${R}/refpl07.ps

pdisp.pdf:
	convert ${R}/pdisp.png ${R}/$@

dip01.pdf: dip01.v
	pstexpen ${R}/dip01.v ${R}/dip01.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y
	epstopdf ${R}/dip01.ps

dip02.pdf: dip02.v
	pstexpen ${R}/dip02.v ${R}/dip02.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y
	epstopdf ${R}/dip02.ps

dip03.pdf: dip03.v
	pstexpen ${R}/dip03.v ${R}/dip03.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y
	epstopdf ${R}/dip03.ps

dip04.pdf: dip04.v
	pstexpen ${R}/dip04.v ${R}/dip04.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y
	epstopdf ${R}/dip04.ps

dip05.pdf: dip05.v
	pstexpen ${R}/dip05.v ${R}/dip05.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y
	epstopdf ${R}/dip05.ps

dip06.pdf: dip06.v
	pstexpen ${R}/dip06.v ${R}/dip06.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y
	epstopdf ${R}/dip06.ps

dip07.pdf: dip07.v
	pstexpen ${R}/dip07.v ${R}/dip07.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y
	epstopdf ${R}/dip07.ps

dip08.pdf: dip08.v
	pstexpen ${R}/dip08.v ${R}/dip08.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y
	epstopdf ${R}/dip08.ps

dip09.pdf: dip09.v
	pstexpen ${R}/dip09.v ${R}/dip09.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y
	epstopdf ${R}/dip09.ps

comb01b.pdf: comb01b.v
	pstexpen ${R}/comb01b.v ${R}/comb01b.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y
	epstopdf ${R}/comb01b.ps

comb02.pdf: comb02.v
	pstexpen ${R}/comb02.v ${R}/comb02.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y
	epstopdf ${R}/comb02.ps

comb03.pdf: comb03.v
	pstexpen ${R}/comb03.v ${R}/comb03.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y
	epstopdf ${R}/comb03.ps

comb04.pdf: comb04.v
	pstexpen ${R}/comb04.v ${R}/comb04.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y
	epstopdf ${R}/comb04.ps

cam01.pdf:
	convert -antialias ${R}/cam01.png ${R}/$@

cam02.pdf: cam02.v
	pstexpen ${R}/cam02.v ${R}/cam02.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y
	epstopdf ${R}/cam02.ps

cam03.pdf: cam03.v
	pstexpen ${R}/cam03.v ${R}/cam03.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y
	epstopdf ${R}/cam03.ps

cam04.pdf: cam04.v
	pstexpen ${R}/cam04.v ${R}/cam04.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y
	epstopdf ${R}/cam04.ps

cam05.pdf: cam05.v
	pstexpen ${R}/cam05.v ${R}/cam05.ps color=y fat=1 fatmult=1.5 invras=n force=  invras=y
	epstopdf ${R}/cam05.ps
