📄 psray5
字号:
#! /bin/sh#### Run GBmod with CWP PostScript Graphics#### Create Figure 8 in the GBmod paperif test "$PSPREVIEWER" = ""thenecho "Environment variable PSPREVIEWER not set" ; exit 1fi# modelmodel=3#### find the right directorydatadir=../datadir/#### aux filesmodelfile=${datadir}model${model}.datamodelpsfile=${datadir}model${model}.epsrayendsfile=${datadir}rayend${raydemo}.datarayfile=${datadir}ray${raydemo}.dataraypsfile1=${datadir}ray1${raydemo}.epsraypsfile2=${datadir}ray2${raydemo}.epsnangle=20 nxz=201 nt=20 fangle=-17 langle=-8#### generate modelfile and modelpsfile#../Models/PSmodel${model}#### shoot the rays triray <$modelfile >$rayendsfile \ rayfile=$rayfile nangle=$nangle \ nxz=$nxz xs=1 zs=0.1 krecord=1 \ fangle=$fangle langle=$langle \ refseq=1,-1 \ refseq=3,0,1,0 \ refseq=4,1,1 #### plot the rays psgraph <$rayfile >$raypsfile1 \ nplot=`cat outpar` n=$nxz \ hbox=3.0 wbox=6.0 \ x1beg=0 x1end=1 x2beg=0 x2end=2 \ style=seismic linegray=1#### shoot the rays triray <$modelfile >$rayendsfile \ rayfile=$rayfile nangle=$nangle \ nxz=$nxz xs=1 zs=0.1 krecord=1 \ fangle=7 langle=15 \ refseq=1,-1 \ refseq=2,0,1,0 \ refseq=3,1,0,0 \ refseq=4,1 #### plot the rays psgraph <$rayfile >$raypsfile2 \ nplot=`cat outpar` n=$nxz \ hbox=3.0 wbox=6.0 \ x1beg=0 x1end=1 x2beg=0 x2end=2 \ style=seismic linegray=1#### display rays and modelpsmerge in=$modelpsfile in=$raypsfile1 in=$raypsfile2 | $PSPREVIEWER exit 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -