#!/bin/bash -f if [ $# != 1 ]; then echo "Usage: plot_depth depth-filename" exit fi FILE=$1 rm sunfil.ras sioseis << eof procs diskin prout plot end diskin # ntodo 2000 ipath $FILE end end prout fno 0 lno 9999999 noinc 500 end end plot dptr 1 tlines .05 dir ltr colors gray opath siofil wiggle 0 ann gmtint anninc 5 ann2 shotno trpin 300 def .02 tlines .05 vscale 5 end end end eof sio2sun siofil sunfil.ras display -rotate 270 sunfil.ras & convert -rotate 270 sunfil.ras $FILE.png