Name

PlotSpectralAnalysis — Visualization of the data computed by the CDM_Analysis, SPWVD_Analysis or CDM_SPWVD_Analysis functions.

Calling Sequence

PlotSpectralAnalysis(result [,InputNames [,Title]])

Parameters

result
The result data structure returned by CDM_Analysis, SPWVD_Analysis or CDM_SPWVD_Analysis functions.
InputNames
a vector of one or two character strings that will be used to set the labels of the input signals. The default value is ["RR","Vt"].
Title
a character string that will be used to set the title of the graph.

Description

PlotSpectralAnalysis plots the data computed by CDM_Analysis, SPWVD_Analysis or CDM_SPWVD_Analysis functions.

The AddChannelPlot can be used to add some other signals subpots.

Menus

  • <term>Scroll</term> menu allows to manage scrolling over the time. The Set scroll length submenu allows to specify the time width of the scrolling window, the scroll length default value is a tenth of the total time range. The Scroll on submenu enables the scrolling mode: to scroll over the time use the left and right directionnal arrows, to go back to full view hit the q key. The Scroll off submenu disable the scrolling mode.

    Remark: If datatips tool is used while in Scroll mode, user needs to set the Scroll mode on for further scrolling.

  • <term>Options</term> menu allows to show/hide the curve legends and to specify the units of the phase display.

Examples

    d=read(cardiovascularpath()+"demos/DATA/free_breathing_4Hz",-1,4)'; //read the data
    freq_sampling=4;
    RR=d(1,:);//RR signal
    Vt=d(3,:);//Tidal Volume  signal

    //narrow band filter
    filterlength=355;
    frequency_bounds=[0.25 0.35];

    result=CDM_SPWVD_Analysis(RR,Vt,freq_sampling,frequency_bounds,filterlength) 
   
    PlotSpectralAnalysis(result,["RR","Vt"],"Free Breathing CDM and SPWVD")  // Draw results
    

Produces:

Hiding legends, setting the phase units to degree, using Scroll mode and datatips one can obtain:

See Also

CDM_Analysis, SPWVD_Analysis, CDM_SPWVD_Analysis, MultiChannelPlot, AddChannelPlot

Authors

Serge Steer, INRIA