R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(RSEIS)
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/RSEIS/plt.MTM0.Rd_%03d_medium.png", width=480, height=480)
> ### Name: plt.MTM0
> ### Title: Plot MTM structure
> ### Aliases: plt.MTM0
> ### Keywords: hplot
>
> ### ** Examples
>
>
> data(CE1)
> plot(CE1$x, CE1$y, type='l')
>
> len <- length(CE1$y)
> len2 <- 2*next2(len)
> Mspec <- mtapspec(CE1$y, CE1$dt, klen=len2, MTP=list(kind=1,nwin=5,
+ npi=3,inorm=0) )
>
>
> f<-Mspec$freq
> M <- 1
> f1 <- 0.01
> f2 <- 100
> plxy <- ''
> flag <- f>=f1 & f <= f2;
> freqs <- list(f[flag])
> mydof <- NULL
> myFv <- NULL
> amp <- Mspec$spec[1:length(f)]
>
> amp <- list(amp[flag])
>
>
> a <- list(y=CE1$y, dt=CE1$dt)
> frange <- range(freqs, na.rm = TRUE)
> prange <- range(amp , na.rm = TRUE)
>
> ### plot(freqs[[1]], amp[[1]])
>
>
> plt.MTM0(frange, prange, plxy, M, freqs, amp, a,
+ dof=mydof, Fv=myFv, COL=4)
>
>
>
>
>
>
>
>
> dev.off()
null device
1
>