Plot Seismograms

Plot a single seismogram generated by SAC. The positive and nagetive parts are denoted by different colors.

$ SAC> funcgen seismogram
$ SAC> w seis.SAC
$ SAC> q
gmt begin sac png,pdf
    gmt sac seis.SAC -JX10c/5c -R9/20/-2/2 -Baf -Fr -Gp+gblack -Gn+gred
gmt end show
../../_images/index-gmtplot-0.png

Seismograms generated by “funcgen seismogram” using SAC