Learn R Programming

oreo (version 1.0)

plotStressTime: Stress-Time plot

Description

create Stress-Time plot

create Stress-Time plot

Usage

plotStressTime(time_wave_in, stress_in, time_wave, stress)

plotStressTime(time_wave_in, stress_in, time_wave, stress)

Arguments

time_wave_in

raw time from input data

stress_in

stress from input data

time_wave

from the output matrix from fft analysis or numerical differentiation analysis

stress

from the output matrix from fft analysis or numerical differentiation analysis

Value

No return value

No return value

Examples

Run this code
# NOT RUN {
 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_num(time_wave, resp_wave , L=1024, k=8, num_mode=1)
time_wave_in= out$spp_data_in$time_wave
stress_in= out$spp_data_in$stress
time_wave= out$spp_data_out$time_wave
stress= out$spp_data_out$stress
plotStressTime(time_wave_in,stress_in,time_wave,stress)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab