R/plotGH.R

Defines functions plotGH

Documented in plotGH

plotGH<-function(h)
    {
######  quick time series plot of a seismic trace in RSEIS
        
        plot(stats::ts(h$amp, deltat=h$dt) , ylab='Amplitude', xlab='Time, s')

        stachan = paste(h$sta, h$comp)
        dstmp = RSEIS::dateStamp(h$DATTIM)
        mtext(stachan, side = 3, line = 0 )
        
        mtext(dstmp, side = 3, line = 0, at =0, adj=c(0,0)   )

        
    }

Try the RSEIS package in your browser

Any scripts or data that you put into this service are public.

RSEIS documentation built on Aug. 19, 2023, 5:07 p.m.