📄 psray1
字号:
#! /bin/sh#### Run GBmod with CWP PostScript Graphicsif test "$PSPREVIEWER" = ""thenecho "Environment variable PSPREVIEWER not set" ; exit 1fi# model numbermodel=3# data directorydatadir=../datadir/modelfile=${datadir}model${model}.datamodelpsfile=${datadir}model${model}.epsrayendsfile=${datadir}rayend.datarayfile=${datadir}ray.dataraypsfile=${datadir}ray.epsnangle=50 nxz=301 fangle=30 langle=45#### create modelfile and modelpsfile# ../Models/PSmodel${model}#### Create Figure 4 in the GBmod-papertriray <$modelfile >$rayendsfile \ rayfile=$rayfile fangle=$fangle langle=$langle \ nangle=$nangle xs=0.1 zs=0.1 \ nxz=$nxz refseq=4,1#### plot the rays with CWP graphicspsgraph <$rayfile >$raypsfile \ nplot=`cat outpar` n=$nxz hbox=3.0 wbox=6.0 \ x1beg=0 x1end=1 x2beg=0 x2end=2 \ label1="Depth (km)" label2="Distance (km)" \ style=seismic linegray=0##### display the rays and the model$CWPROOT/bin/psmerge in=$modelpsfile in=$raypsfile | $PSPREVIEWER &kexit 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -