##########################################
cam02.v:
	Window3d < ${PERM}/dip30_CAM.vslow.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.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.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.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=n wantaxis2=y labelsz=2 pclip= 99. > /dev/null out=3.v
	Window3d < ${PERM}/dip30.bimgf25.H min1=0 max1=1500 min3=600 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 polarity=-1 \
	wantaxis1=n wantaxis2=y labelsz=2  pclip= 99. > /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=y 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
	vp_Overlay j0.v j1.v j2.v > 00.v
	vppen < 3.v xcenter=-5. ycenter=-7 vpstyle=n > j3.v
	vppen < 4.v xcenter=-5.58 ycenter=-7 vpstyle=n > j4.v
	vppen < 5.v xcenter=-7.05 ycenter=-7 vpstyle=n > j5.v
	vp_Overlay j3.v j4.v j5.v > 11.v
	vp_Overlay 00.v 11.v > ${R}/$@

cam03.v:
	Window3d n4=1 < ${PERM}/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
##################
#
# SEG
#
nsea00.v:
	Window3d < ${Prst_ExpRefl}/opteron/elf.perm.rec.gx45gy1.H min1=0 max1=7000 n4=1 | Transp plane=35 | Transf maxsize=1000 | Window3d max1=2 | \
	Grey eout=1 pclip=98 gainpanel=a label1="t" label2="cmp_x" label3="cmp_y" title=" " > a.T
	< a.T Cubeplot flat=1 frame1=90 frame2=90 frame3=70 wantcoordlabel=-1 point1=.7 point2=0.7 title=" " grid=1 > /dev/null out=./${R}/$@

#nsea01.v:
#	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velinit.agc.ang.3760.H n2=1 min2=0 |\
#	Grey title=" " pclip=95 label1="depth" titlesz=3 o1num=1000 d1num=1000 o2num=2000 d2num=2000  \
#	label2="cmp_x" screenratio=4 screenht=4 screenwd=14 wheretitle=t \
#	wantaxis1=y wantaxis2=y labelsz=4 > /dev/null out=00.v
#	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velinit.agc.ang.3760.H n3=1 min3=500 |\
#	Grey title=" " pclip=95 label1="depth" titlesz=3 \
#	label2="angle" screenratio=4 screenht=4 screenwd=.7 wheretitle=b \
#	wantaxis1=y wantaxis2=n labelsz=4 > /dev/null out=0a.v
#	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velinit.agc.ang.3760.H n3=1 min3=1000 |\
#	Grey title=" " pclip=95 label1="depth" titlesz=3 \
#	label2=" " screenratio=4 screenht=4 screenwd=.7 wheretitle=t \
#	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=1b.v
#	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velinit.agc.ang.3760.H n3=1 min3=1500 |\
#	Grey title=" " pclip=95 label1="depth" titlesz=3 \
#	label2=" " screenratio=4 screenht=4 screenwd=.7 wheretitle=t \
#	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=0.v
#	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velinit.agc.ang.3760.H n3=1 min3=2000 |\
#	Grey title=" " pclip=95 label1="depth" titlesz=3 \
#	label2=" " screenratio=4 screenht=4 screenwd=.7 wheretitle=t \
#	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=1.v
#	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velinit.agc.ang.3760.H n3=1 min3=2500 |\
#	Grey title=" " pclip=95 label1="depth" titlesz=3 \
#	label2=" " screenratio=4 screenht=4 screenwd=.7 wheretitle=t \
#	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=2.v
#	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velinit.agc.ang.3760.H n3=1 min3=3000 |\
#	Grey title=" " pclip=95 label1="depth" titlesz=3 \
#	label2=" " screenratio=4 screenht=4 screenwd=.7 wheretitle=t \
#	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=3.v
#	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velinit.agc.ang.3760.H n3=1 min3=3500 |\
#	Grey title=" " pclip=95 label1="depth" titlesz=3 \
#	label2=" " screenratio=4 screenht=4 screenwd=.7 wheretitle=t \
#	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=4.v
#	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velinit.agc.ang.3760.H n3=1 min3=4000 |\
#	Grey title=" " pclip=95 label1="depth" titlesz=3 \
#	label2=" " screenratio=4 screenht=4 screenwd=.7 wheretitle=t \
#	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=5.v
#	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velinit.agc.ang.3760.H n3=1 min3=4500 |\
#	Grey title=" " pclip=95 label1="depth" titlesz=3 \
#	label2=" " screenratio=4 screenht=4 screenwd=.7 wheretitle=t \
#	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=6.v
#	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velinit.agc.ang.3760.H n3=1 min3=5000 |\
#	Grey title=" " pclip=95 label1="depth" titlesz=3 \
#	label2=" " screenratio=4 screenht=4 screenwd=.7 wheretitle=t \
#	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=7.v
#	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velinit.agc.ang.3760.H n3=1 min3=5500 |\
#	Grey title=" " pclip=95 label1="depth" titlesz=3 \
#	label2=" " screenratio=4 screenht=4 screenwd=.7 wheretitle=t \
#	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=8.v
#	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velinit.agc.ang.3760.H n3=1 min3=6000 |\
#	Grey title=" " pclip=95 label1="depth" titlesz=3 \
#	label2=" " screenratio=4 screenht=4 screenwd=.7 wheretitle=t \
#	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=9.v
#	vppen < 00.v xcenter=1.75 ycenter=-4.3 vpstyle=n > junk00.v
#	vppen < 0.v xcenter=-1.0 ycenter=-1.3 vpstyle=n > junk0a.v
#	vppen < 1.v xcenter=-1.75 ycenter=-1.3 vpstyle=n > junk1b.v
#	vppen < 0.v xcenter=-2.5 ycenter=-1.3 vpstyle=n > junk0.v
#	vppen < 1.v xcenter=-3.25 ycenter=-1.3 vpstyle=n > junk1.v
#	vppen < 2.v xcenter=-4. ycenter=-1.3 vpstyle=n > junk2.v
#	vppen < 3.v xcenter=-4.75 ycenter=-1.3 vpstyle=n > junk3.v
#	vppen < 4.v xcenter=-5.5 ycenter=-1.3 vpstyle=n > junk4.v
#	vppen < 5.v xcenter=-6.25 ycenter=-1.3 vpstyle=n > junk5.v
#	vppen < 6.v xcenter=-7. ycenter=-1.3 vpstyle=n > junk6.v
#	vppen < 7.v xcenter=-7.75 ycenter=-1.3 vpstyle=n > junk7.v
#	vppen < 8.v xcenter=-8.5 ycenter=-1.3 vpstyle=n > junk8.v
#	vppen < 9.v xcenter=-9.25 ycenter=-1.3 vpstyle=n > junk9.v
#	vp_Overlay junk00.v junk0a.v junk1b.v junk0.v junk1.v junk2.v junk3.v junk4.v junk5.v junk6.v junk7.v junk8.v junk9.v > xxx.v
#	vp_annotate batch=y text=anno01 < xxx.v	> 00.v
##
#	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velopt01.bsch.agc.ang.3760.H n2=1 min2=0 |\
#	Grey title=" " pclip=95 label1="depth" titlesz=3 o1num=1000 d1num=1000 o2num=2000 d2num=2000 \
#	label2="cmp_x" labelsz=6 screenratio=4 screenht=4 screenwd=14 wheretitle=t \
#	wantaxis1=y wantaxis2=y labelsz=4 > /dev/null out=00.v
#	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velopt01.bsch.agc.ang.3760.H n3=1 min3=500 |\
#	Grey title=" " pclip=95 label1="depth" titlesz=3 \
#	label2="angle" screenratio=4 screenht=4 screenwd=.7 wheretitle=b \
#	wantaxis1=y wantaxis2=n labelsz=4 > /dev/null out=0a.v
#	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velopt01.bsch.agc.ang.3760.H n3=1 min3=1000 |\
#	Grey title=" " pclip=95 label1="depth" titlesz=3 \
#	label2=" " screenratio=4 screenht=4 screenwd=.7 wheretitle=t \
#	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=1b.v
#	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velopt01.bsch.agc.ang.3760.H n3=1 min3=1500 |\
#	Grey title=" " pclip=95 label1="depth" titlesz=3 \
#	label2=" " screenratio=4 screenht=4 screenwd=.7 wheretitle=t \
#	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=0.v
#	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velopt01.bsch.agc.ang.3760.H n3=1 min3=2000 |\
#	Grey title=" " pclip=95 label1="depth" titlesz=3 \
#	label2=" " screenratio=4 screenht=4 screenwd=.7 wheretitle=t \
#	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=1.v
#	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velopt01.bsch.agc.ang.3760.H n3=1 min3=2500 |\
#	Grey title=" " pclip=95 label1="depth" titlesz=3 \
#	label2=" " screenratio=4 screenht=4 screenwd=.7 wheretitle=t \
#	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=2.v
#	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velopt01.bsch.agc.ang.3760.H n3=1 min3=3000 |\
#	Grey title=" " pclip=95 label1="depth" titlesz=3 \
#	label2=" " screenratio=4 screenht=4 screenwd=.7 wheretitle=t \
#	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=3.v
#	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velopt01.bsch.agc.ang.3760.H n3=1 min3=3500 |\
#	Grey title=" " pclip=95 label1="depth" titlesz=3 \
#	label2=" " screenratio=4 screenht=4 screenwd=.7 wheretitle=t \
#	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=4.v
#	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velopt01.bsch.agc.ang.3760.H n3=1 min3=4000 |\
#	Grey title=" " pclip=95 label1="depth" titlesz=3 \
#	label2=" " screenratio=4 screenht=4 screenwd=.7 wheretitle=t \
#	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=5.v
#	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velopt01.bsch.agc.ang.3760.H n3=1 min3=4500 |\
#	Grey title=" " pclip=95 label1="depth" titlesz=3 \
#	label2=" " screenratio=4 screenht=4 screenwd=.7 wheretitle=t \
#	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=6.v
#	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velopt01.bsch.agc.ang.3760.H n3=1 min3=5000 |\
#	Grey title=" " pclip=95 label1="depth" titlesz=3 \
#	label2=" " screenratio=4 screenht=4 screenwd=.7 wheretitle=t \
#	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=7.v
#	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velopt01.bsch.agc.ang.3760.H n3=1 min3=5500 |\
#	Grey title=" " pclip=95 label1="depth" titlesz=3 \
#	label2=" " screenratio=4 screenht=4 screenwd=.7 wheretitle=t \
#	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=8.v
#	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velopt01.bsch.agc.ang.3760.H n3=1 min3=6000 |\
#	Grey title=" " pclip=95 label1="depth" titlesz=3 \
#	label2=" " screenratio=4 screenht=4 screenwd=.7 wheretitle=t \
#	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=9.v
#	vppen < 00.v xcenter=1.75 ycenter=-4.3 vpstyle=n > junk00.v
#	vppen < 0.v xcenter=-1.0 ycenter=-1.3 vpstyle=n > junk0a.v
#	vppen < 1.v xcenter=-1.75 ycenter=-1.3 vpstyle=n > junk1b.v
#	vppen < 0.v xcenter=-2.5 ycenter=-1.3 vpstyle=n > junk0.v
#	vppen < 1.v xcenter=-3.25 ycenter=-1.3 vpstyle=n > junk1.v
#	vppen < 2.v xcenter=-4. ycenter=-1.3 vpstyle=n > junk2.v
#	vppen < 3.v xcenter=-4.75 ycenter=-1.3 vpstyle=n > junk3.v
#	vppen < 4.v xcenter=-5.5 ycenter=-1.3 vpstyle=n > junk4.v
#	vppen < 5.v xcenter=-6.25 ycenter=-1.3 vpstyle=n > junk5.v
#	vppen < 6.v xcenter=-7. ycenter=-1.3 vpstyle=n > junk6.v
#	vppen < 7.v xcenter=-7.75 ycenter=-1.3 vpstyle=n > junk7.v
#	vppen < 8.v xcenter=-8.5 ycenter=-1.3 vpstyle=n > junk8.v
#	vppen < 9.v xcenter=-9.25 ycenter=-1.3 vpstyle=n > junk9.v
#	vp_Overlay junk00.v junk0a.v junk1b.v junk0.v junk1.v junk2.v junk3.v junk4.v junk5.v junk6.v junk7.v junk8.v junk9.v > xxx.v
#	vp_annotate batch=y text=anno02 < xxx.v	> 11.v
#	vp_Overlay 00.v 11.v > ${R}/$@
#	rm -f [0-9].v junk[0-9].v





nsea03.v:
	Window3d n1=1 min1=3790 min2=1600 n2=196 max3=2800 < ${Prst_ExpRefl}/opteron/elf.L7f.sinit.rmo2.grid20.H | Transp | \
	Grey newclip=1 color=j gainpanel=a bclip=1400 eclip=5100 label1="depth" label2="cmp_y" title="                                                           a)" screenratio=2 screenht=2 labelsz=2 titlesz=2 \
	screenwd=2 wantaxis1=y wantaxis2=y o2num=2000 d2num=2000 axisfat= 2,2 > /dev/null out=a0.v
	Window3d n1=350 min1=0 min2=3500 n2=1 max3=2800 < ${Prst_ExpRefl}/opteron/elf.L7f.sinit.rmo2.grid20.H | Transp | \
	Grey newclip=1 color=j gainpanel=a bclip=1400 eclip=5100 label1="depth" label2="cmp_x" title=" " screenratio=2 screenht=2 wantscalebar=0 barlabel="velocity(m/s)" labelsz=2 titlesz=2 \
	screenwd=4 wantaxis1=n wantaxis2=y o2num=1000 d2num=2000 axisfat= 2,2 > /dev/null out=a1.v
#
	Window3d n1=1 min1=3790 min2=1600 n2=196 max3=2800 < ${Prst_ExpRefl}/opteron/elf.velopt_nl.gx45_20x10.H | Gpow gpow=-1 | Transp | \
	Grey newclip=1 color=j gainpanel=a bclip=1400 eclip=5100 label1="depth" label2="cmp_y" title="                                                           b)" screenratio=2 screenht=2 labelsz=2 titlesz=2 \
	screenwd=2 wantaxis1=n wantaxis2=y o2num=2000 d2num=2000 axisfat= 4,4 > /dev/null out=a2.v
	Window3d n1=350 min1=0 min2=3500 n2=1 max3=2800 < ${Prst_ExpRefl}/opteron/elf.velopt_nl.gx45_20x10.H | Gpow gpow=-1 | Transp | \
	Grey newclip=1 color=j gainpanel=a bclip=1400 eclip=5100 label1="depth" label2="cmp_x" title=" " screenratio=2 screenht=2 wantscalebar=1 barwidth=0.2 barlabel="velocity(m/s)" labelsz=2 titlesz=2 \
	screenwd=4.8 wantaxis1=n wantaxis2=y o2num=1000 d2num=2000 axisfat= 4,4 > /dev/null out=a3.v
	vppen < a0.v xcenter=0. ycenter=-3 vpstyle=n > junk0.v
	vppen < a1.v xcenter=-1.18 ycenter=-3 vpstyle=n > junk2.v
	vppen < a2.v xcenter=-4.75 ycenter=-3 vpstyle=n > junk1.v
	vppen < a3.v xcenter=-5.9 ycenter=-3 vpstyle=n > junk3.v
	vp_Overlay junk0.v junk2.v junk1.v junk3.v > ${R}/$@	
	rm -f [0-6].v junk[0-6].v



#nsea03.v:
#	Window3d n1=1 min1=3790 min2=1600 n2=196 max3=2800 < ${Prst_ExpRefl}/opteron/elf.L7f.sinit.rmo2.grid20.H | Transp | \
#	Grey newclip=1 color=j gainpanel=a bclip=1400 eclip=5100 label1="depth" label2="cmp_y" title=" " screenratio=4 screenht=4 labelsz=4 \
#	screenwd=4 wantaxis1=y wantaxis2=y o2num=2000 d2num=2000 axisfat= 2,2 > /dev/null out=a0.v
#	Window3d n1=350 min1=0 min2=3500 n2=1 max3=2800 < ${Prst_ExpRefl}/opteron/elf.L7f.sinit.rmo2.grid20.H | Transp | \
#	Grey newclip=1 color=j gainpanel=a bclip=1400 eclip=5100 label1="depth" label2="cmp_x" title=" " screenratio=4 screenht=4 wantscalebar=1 barlabel="velocity(m/s)" labelsz=4 \
#	screenwd=8 wantaxis1=n wantaxis2=y o2num=1000 d2num=2000 axisfat= 2,2 > /dev/null out=a1.v
#	vppen < a0.v xcenter=-1. ycenter=-3 vpstyle=n > junk0.v
#	vppen < a1.v xcenter=-3.4 ycenter=-3 vpstyle=n > junk2.v
#	vp_Overlay junk0.v junk2.v > ${R}/$@	
#	rm -f [0-6].v junk[0-6].v

#nsea04.v:
#	Window3d n1=1 min1=3790 min2=1600 n2=196 max3=2800 < ${Prst_ExpRefl}/opteron/elf.velopt_nl.gx45_20x10.H | Gpow gpow=-1 | Transp | \
#	Grey newclip=1 color=j gainpanel=a bclip=1400 eclip=5100 label1="depth" label2="cmp_y" title=" " screenratio=4 screenht=4 labelsz=4 \
#	screenwd=4 wantaxis1=y wantaxis2=y o2num=2000 d2num=2000 axisfat= 4,4 > /dev/null out=a0.v
#	Window3d n1=350 min1=0 min2=3500 n2=1 max3=2800 < ${Prst_ExpRefl}/opteron/elf.velopt_nl.gx45_20x10.H | Gpow gpow=-1 | Transp | \
#	Grey newclip=1 color=j gainpanel=a bclip=1400 eclip=5100 label1="depth" label2="cmp_x" title=" " screenratio=4 screenht=4 wantscalebar=1 barlabel="velocity(m/s)" labelsz=4 \
#	screenwd=8 wantaxis1=n wantaxis2=y o2num=1000 d2num=2000 axisfat= 4,4 > /dev/null out=a1.v
#	vppen < a0.v xcenter=-1. ycenter=-3 vpstyle=n > junk0.v
#	vppen < a1.v xcenter=-3.4 ycenter=-3 vpstyle=n > junk2.v
#	vp_Overlay junk0.v junk2.v > ${R}/$@	
#	rm -f [0-6].v junk[0-6].v



nsea01.v:
	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velinit.agc.ang.3760.H n2=1 min2=0 |\
	Grey title=" " pclip=95 label1="depth" titlesz=3 o1num=1000 d1num=1000 o2num=2000 d2num=2000  \
	label2="cmp_x" screenratio=4 screenht=2 screenwd=7 wheretitle=t \
	wantaxis1=y wantaxis2=y labelsz=2 > /dev/null out=00.v
	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velinit.agc.ang.3760.H n3=1 min3=500 |\
	Grey title=" " pclip=95 label1="depth" titlesz=3 \
	label2="angle" screenratio=4 screenht=2 screenwd=.35 wheretitle=b \
	wantaxis1=y wantaxis2=n labelsz=2 > /dev/null out=0a.v
	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velinit.agc.ang.3760.H n3=1 min3=1000 |\
	Grey title=" " pclip=95 label1="depth" titlesz=3 \
	label2=" " screenratio=4 screenht=2 screenwd=.35 wheretitle=t \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=1b.v
	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velinit.agc.ang.3760.H n3=1 min3=1500 |\
	Grey title=" " pclip=95 label1="depth" titlesz=3 \
	label2=" " screenratio=4 screenht=2 screenwd=.35 wheretitle=t \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=0.v
	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velinit.agc.ang.3760.H n3=1 min3=2000 |\
	Grey title=" " pclip=95 label1="depth" titlesz=3 \
	label2=" " screenratio=4 screenht=2 screenwd=.35 wheretitle=t \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=1.v
	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velinit.agc.ang.3760.H n3=1 min3=2500 |\
	Grey title=" " pclip=95 label1="depth" titlesz=3 \
	label2=" " screenratio=4 screenht=2 screenwd=.35 wheretitle=t \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=2.v
	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velinit.agc.ang.3760.H n3=1 min3=3000 |\
	Grey title="        a)" pclip=95 label1="depth" titlesz=3 \
	label2=" " screenratio=4 screenht=2 screenwd=.35 wheretitle=b \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=3.v
	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velinit.agc.ang.3760.H n3=1 min3=3500 |\
	Grey title=" " pclip=95 label1="depth" titlesz=3 \
	label2=" " screenratio=4 screenht=2 screenwd=.35 wheretitle=t \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=4.v
	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velinit.agc.ang.3760.H n3=1 min3=4000 |\
	Grey title=" " pclip=95 label1="depth" titlesz=3 \
	label2=" " screenratio=4 screenht=2 screenwd=.35 wheretitle=t \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=5.v
	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velinit.agc.ang.3760.H n3=1 min3=4500 |\
	Grey title=" " pclip=95 label1="depth" titlesz=3 \
	label2=" " screenratio=4 screenht=2 screenwd=.35 wheretitle=t \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=6.v
	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velinit.agc.ang.3760.H n3=1 min3=5000 |\
	Grey title=" " pclip=95 label1="depth" titlesz=3 \
	label2=" " screenratio=4 screenht=2 screenwd=.35 wheretitle=t \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=7.v
	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velinit.agc.ang.3760.H n3=1 min3=5500 |\
	Grey title=" " pclip=95 label1="depth" titlesz=3 \
	label2=" " screenratio=4 screenht=2 screenwd=.35 wheretitle=t \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=8.v
	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velinit.agc.ang.3760.H n3=1 min3=6000 |\
	Grey title=" " pclip=95 label1="depth" titlesz=3 \
	label2=" " screenratio=4 screenht=2 screenwd=.35 wheretitle=t \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=9.v
	vppen < 00.v xcenter=0.925 ycenter=-2.15 vpstyle=n > junk00.v
	vppen < 0.v xcenter=-.5 ycenter=-0.65 vpstyle=n > junk0a.v
	vppen < 1.v xcenter=-.875 ycenter=-0.65 vpstyle=n > junk1b.v
	vppen < 0.v xcenter=-1.25 ycenter=-0.65 vpstyle=n > junk0.v
	vppen < 1.v xcenter=-1.625 ycenter=-0.65 vpstyle=n > junk1.v
	vppen < 2.v xcenter=-2. ycenter=-0.65 vpstyle=n > junk2.v
	vppen < 3.v xcenter=-2.375 ycenter=-0.65 vpstyle=n > junk3.v
	vppen < 4.v xcenter=-2.75 ycenter=-0.65 vpstyle=n > junk4.v
	vppen < 5.v xcenter=-3.125 ycenter=-0.65 vpstyle=n > junk5.v
	vppen < 6.v xcenter=-3.5 ycenter=-0.65 vpstyle=n > junk6.v
	vppen < 7.v xcenter=-3.875 ycenter=-0.65 vpstyle=n > junk7.v
	vppen < 8.v xcenter=-4.25 ycenter=-0.65 vpstyle=n > junk8.v
	vppen < 9.v xcenter=-4.625 ycenter=-0.65 vpstyle=n > junk9.v
	vp_Overlay junk00.v junk0a.v junk1b.v junk0.v junk1.v junk2.v junk3.v junk4.v junk5.v junk6.v junk7.v junk8.v junk9.v > xxx.v
	vp_annotate batch=y text=anno01 < xxx.v	> 22.v
#
	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velopt01.bsch.agc.ang.3760.H n2=1 min2=0 |\
	Grey title=" " pclip=95 label1="depth" titlesz=3 o1num=1000 d1num=1000 o2num=2000 d2num=2000 \
	label2="cmp_x" labelsz=6 screenratio=4 screenht=2 screenwd=7 wheretitle=t \
	wantaxis1=n wantaxis2=y labelsz=2 > /dev/null out=00.v
	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velopt01.bsch.agc.ang.3760.H n3=1 min3=500 |\
	Grey title=" " pclip=95 label1="depth" titlesz=3 \
	label2="angle" screenratio=4 screenht=2 screenwd=.35 wheretitle=b \
	wantaxis1=y wantaxis2=n labelsz=2 > /dev/null out=0a.v
	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velopt01.bsch.agc.ang.3760.H n3=1 min3=1000 |\
	Grey title=" " pclip=95 label1="depth" titlesz=3 \
	label2=" " screenratio=4 screenht=2 screenwd=.35 wheretitle=t \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=1b.v
	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velopt01.bsch.agc.ang.3760.H n3=1 min3=1500 |\
	Grey title=" " pclip=95 label1="depth" titlesz=3 \
	label2=" " screenratio=4 screenht=2 screenwd=.35 wheretitle=t \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=0.v
	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velopt01.bsch.agc.ang.3760.H n3=1 min3=2000 |\
	Grey title=" " pclip=95 label1="depth" titlesz=3 \
	label2=" " screenratio=4 screenht=2 screenwd=.35 wheretitle=t \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=1.v
	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velopt01.bsch.agc.ang.3760.H n3=1 min3=2500 |\
	Grey title=" " pclip=95 label1="depth" titlesz=3 \
	label2=" " screenratio=4 screenht=2 screenwd=.35 wheretitle=t \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=2.v
	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velopt01.bsch.agc.ang.3760.H n3=1 min3=3000 |\
	Grey title="        b)" pclip=95 label1="depth" titlesz=3 \
	label2=" " screenratio=4 screenht=2 screenwd=.35 wheretitle=b \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=3.v
	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velopt01.bsch.agc.ang.3760.H n3=1 min3=3500 |\
	Grey title=" " pclip=95 label1="depth" titlesz=3 \
	label2=" " screenratio=4 screenht=2 screenwd=.35 wheretitle=t \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=4.v
	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velopt01.bsch.agc.ang.3760.H n3=1 min3=4000 |\
	Grey title=" " pclip=95 label1="depth" titlesz=3 \
	label2=" " screenratio=4 screenht=2 screenwd=.35 wheretitle=t \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=5.v
	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velopt01.bsch.agc.ang.3760.H n3=1 min3=4500 |\
	Grey title=" " pclip=95 label1="depth" titlesz=3 \
	label2=" " screenratio=4 screenht=2 screenwd=.35 wheretitle=t \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=6.v
	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velopt01.bsch.agc.ang.3760.H n3=1 min3=5000 |\
	Grey title=" " pclip=95 label1="depth" titlesz=3 \
	label2=" " screenratio=4 screenht=2 screenwd=.35 wheretitle=t \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=7.v
	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velopt01.bsch.agc.ang.3760.H n3=1 min3=5500 |\
	Grey title=" " pclip=95 label1="depth" titlesz=3 \
	label2=" " screenratio=4 screenht=2 screenwd=.35 wheretitle=t \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=8.v
	Window3d < ${Prst_ExpRefl}/opteron/elf.3D.mig.velopt01.bsch.agc.ang.3760.H n3=1 min3=6000 |\
	Grey title=" " pclip=95 label1="depth" titlesz=3 \
	label2=" " screenratio=4 screenht=2 screenwd=.35 wheretitle=t \
	wantaxis1=n wantaxis2=n labelsz=2 > /dev/null out=9.v
	vppen < 00.v xcenter=-4.575 ycenter=-2.15 vpstyle=n > junk00.v
	vppen < 0.v xcenter=-6 ycenter=-0.65 vpstyle=n > junk0a.v
	vppen < 1.v xcenter=-6.375 ycenter=-0.65 vpstyle=n > junk1b.v
	vppen < 0.v xcenter=-6.75 ycenter=-0.65 vpstyle=n > junk0.v
	vppen < 1.v xcenter=-7.125 ycenter=-0.65 vpstyle=n > junk1.v
	vppen < 2.v xcenter=-7.5 ycenter=-0.65 vpstyle=n > junk2.v
	vppen < 3.v xcenter=-7.875 ycenter=-0.65 vpstyle=n > junk3.v
	vppen < 4.v xcenter=-8.25 ycenter=-0.65 vpstyle=n > junk4.v
	vppen < 5.v xcenter=-8.625 ycenter=-0.65 vpstyle=n > junk5.v
	vppen < 6.v xcenter=-9.0 ycenter=-0.65 vpstyle=n > junk6.v
	vppen < 7.v xcenter=-9.375 ycenter=-0.65 vpstyle=n > junk7.v
	vppen < 8.v xcenter=-9.75 ycenter=-0.65 vpstyle=n > junk8.v
	vppen < 9.v xcenter=-10.125 ycenter=-0.65 vpstyle=n > junk9.v
	vp_Overlay junk00.v junk0a.v junk1b.v junk0.v junk1.v junk2.v junk3.v junk4.v junk5.v junk6.v junk7.v junk8.v junk9.v > xxx.v
	vp_annotate batch=y text=anno02 < xxx.v	> 11.v
	vp_Overlay 22.v 11.v > ${R}/$@
	rm -f [0-9].v junk[0-9].v











########################################
#
# 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

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

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

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

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

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

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