| IMF - Toolbox |
IMF_plot | Examples See Also |
Syntax
The best way to explain the complex syntax of IMF_plot is by examples.
Remarks
IMF_plot sets the variable g_plot (g_plot stores all settings of all subplots) and always starts the IMF_selected_plot routine.
IMF_plot('Plot1','3.3')---> plots Data-ID: 3.3 on one plot
IMF_plot('hide','Plot1','3.3')---> generates only the variable g_plot for plotting data series 3.3 (for Batch Jobs)
IMF_plot('Plot1','3.3','3.1','Plot2','1.7','1.8','1.9')
---> plots Data-ID: 3.3, 3.1 on subplot 1 and Data-ID: 1.7 1.8 1.9 on subplot 2
IMF_plot('Plot1','3.3','3.1','sub_av','Plot2','1.7','1.8','1.9')
---> plots Data-ID: 3.3, 3.1 on subplot 1, subtracts the average and Data-ID: 1.7 1.8 1.9 on subplot 2
IMF_plot('Plot1',sel1) ---> plots all data series in the cell array: sel1
IMF_plot('Plot1','3.3;20','3.1','Marker','on','LineStyle','none','LimitUp',51,'LimitDown',20,'Markersize',8, ...
'Plot2',sel1,'Marker','on','LineStyle','none','LimitUp',51,'LimitDown',20,'Markersize',1)
---> plots Data-ID: 3.3 with offset: 20, '3.1' on subplot 1 and all data series in the cell array:
sel1 with the selected optios
IMF_plot('Plot1','1.1','sub_av','calc','interr','Plot2','1.1','calc','interr','AC', ...
'Plot3','1.1','calc','interr','AC','Std_spec')
--->plots Data-ID: 1.1 with interpolated error flags and subtracted average on subplot 1
plots Data-ID: 1.1 (AC - component with interpolated error flags on) subplot 2
plots Data-ID: 1.1 (dynamic spectrum of the AC - component with interpolated error flags on) subplot 3
IMF_plot('Plot1','3.3','3.3;E1','calc','interrsp') --> plots Data-ID: 3.3 first with the plot calculation ('inerrsp')
and second with the settings in IMF_extra_calc
Keywords:
'hide' --> for Batch Jobs (no data are displayed)
'Plot1','Plot2','Plot3','Plot4'
'sub_av' --> subtract average
'calc' --> first calculation: see list of calculations
'LineStyle' --> 'dotted','dashed','dashed dotted','solid','none'
'Marker' --> 'on', 'off'
'MarkerSize'--> 1,2,3,4,5....
'LimitUp' (upper Y-limit)
'LimitDown' (lower Y-limit)
'nfft' --> fft - length : 32,64,128,256,512,1024,2048,4096,8192
'color_range' --> specifies the range of the colorbar, e.g., [-2,3]
'shift_step' --> shift step for spectra (e.g. for Welch's method)
'ps_shift_step' --> shift step for dynamic spectra
'freq_average' --> specifies averaging in the frequency domain (averages over +- n points)
'beta' --> beta parameter for the kaiser window
'freq_limit_up' --> upper border for the frequency axis
'frequ_limit_down' --> lower border for the frequency axis
'wp_lower_freq' --> lower frquency border for Wave Power
'wp_upper_freq' --> upper frquency border for Wave Power
'freq_scale' --> 'log' or 'lin' for logarithmic or linear frequency scale
'pow_scale' --> 'log' or 'lin' for power/amplitude or linear power/amplitude scale
'spec_same_length' --> 'on' or 'off' fft - length is the same as the length of the time series
'spec_pow_2' --> 'on' or 'off' fft - length is the same length as the length the next shorter power of 2
'confidence' --> 'on' or 'off' displays the 95% confidence intervall for power or amplitude spectra
'normalize' --> 'peaks' or 'noise' normalizes spectra so that the peaks or the noise is about right
'window' --> 'hanning', 'hamming', 'kaiser', 'bartlett', 'blackman', 'triangular', 'rectangular'
'density' --> 'on' or 'off' if 'on' is chosen spectral density spectra are calculated
'spec_kind' --> 'pow' or 'ampl' power or amplitude spectrum
'hide_low_coherence' --> 'on' or 'off' hide low coherence regions
'dyn_spec_threshold' --> threshold for the low coherence areas in dynamic cross phase, cross power and coherence spectra
Methods, Algorithms:
'showgap' --> show differences between time points
'intgap' --> interpolate data gaps (linear)
'intgapsp' --> interpolate data gaps (spline)
'interr' clean --> interpolates error flags (linear)
'interrsp' clean --> interpolates error flags (spline)
'remerr' clean --> removes error flags
'intNaN' clean --> interpolate NaNs (linear)
'intNaNsp' clean --> interpolate NaNs (spline)
'remNaN' clean --> removes NaNs
'shift1sec' --> shift data series to whole seconds (linear)
'shift1secsp' --> shift data series to whole seconds (spline)
'PC 12' filter --> 0.1 Hz, HP, 6.Order, Cauer, Zero Phase
'PC 3' filter --> 0.022 Hz - 0.1 Hz, BP, 6.Order, Cauer, Zero Phase
'PC 4' filter --> 0.007 Hz - 0.022 Hz, BP, 6.Order, Cauer, Zero Phase
'PC 5' filter --> 0.002 Hz - 0.007 Hz, BP, 6.Order, Cauer, Zero Phase
'Var' filter --> 0.002 Hz, LP, 6.Order, Cauer, Zero Phase
'AC' filter --> 0.002 Hz, HP, 6.Order, Cauer, Zero Phase
'PI 1' filter --> 0.025 Hz, HP, 6.Order, Cauer, Zero Phase
'PI 2' filter --> 0.0067 Hz - 0.025 Hz, BP, 6.Order, Cauer, Zero Phase
'fself1' filter --> filter designed via 'IMF_design_filter
'fself2' filter --> filter designed via 'IMF_design_filter
'fself3' filter --> filter designed via 'IMF_design_filter
'detrend' --> detrend
'deriv' --> Derivative
'5pderiv' --> 5 Point Derivative
'rot_shift' --> rotate and shift coordinates
'minvar' --> minimum variance
'copl' --> coplanarity
'pow_spec' --> power spectrum
'ampl_spec' --> amplitude spectrum
'dyn_pow_spec' --> dynamic power spectrum
'dyn_ampl_spec' --> dynamic amplitude spectrum'
'c_pow_spec' --> cross power spectrum
'dyn_c_pow_spec' --> dynamic cross power spectrum
'c_pha_spec' --> dynamic cross phase spectrum
'dyn_c_pha_spec' --> dynamic cross phase spectrum
'coh_spec' --> coherence spectrum
'dyn_coh_spec' --> dynamic coherence spectrum
'wave_pow' --> wave power
'CorrS' --> correlation (save algorithm)
'CorrF' --> correlation (fast algorithm)
'Hodog' --> Hodogram