Description Usage Arguments Value Author(s) Examples
View source: R/Rpp_plot_v3.r View source: R/Rpp_ggplot_v3.r
create Fourier Harmonic Magnitudes plot
create Fourier Harmonic Magnitudes plot
1 2 3 |
ft_amp |
from the output matrix from fft analysis or numerical differentiation analysis |
fft_resp |
from the output matrix from fft analysis or numerical differentiation analysis |
spp_params |
input parameters used for the fft analysis or numerical differentiation analysis |
... |
parameters of plot() |
No return value
No return value
Giorgio Luciano and Serena Beretta, based on the Plotting functions created by Simon Rogers Group for Soft Matter
Giorgio Luciano and Serena Beretta, based on the Plotting functions created by Simon Rogers Group for Soft Matter
1 2 3 4 5 6 7 8 9 | data(mydata)
df <- rpp_read2(mydata , selected=c(2, 3, 4, 0, 0, 1, 0, 0))
time_wave <- df$raw_time
resp_wave <- data.frame(df$strain,df$strain_rate,df$stress)
out <- rpp_fft(time_wave,resp_wave,L=1024,omega=3.16 , M=15,p=1)
ft_amp= out$ft_out$ft_amp
fft_resp= out$ft_out$fft_resp
spp_params= out$spp_params
plotFft(ft_amp,fft_resp,spp_params)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.