The Auditory Modeling Toolbox

Applies to version: 0.10.0

View the code

Go to function

plot_baumgartner2014 - plot probabilistic prediction matrixes

Usage

plot_baumgartner2014(p,tang,rang);
plot_baumgartner2014(p,tang,rang,exptang,exprang);

Input parameters

p prediction matrix containing probability mass vectors (PMVs) for the polar response angle as a function of the polar target angle (1st dim: response angle, 2nd dim: target angle)
rang polar response angles
tang polar target angles

plot_baumgartner2014(p,rang,tang) plots predicted PMVs referring to the polar response angles rang as a function of the target angles tang with gray color coded probabilities similar to Baumgartner et al. (2002). Actual response patterns from psychoacoustic experiments can be overlayed optionally.

h=plot_baumgartner2014(...) additionally returns the figure handle.

plot_baumgartner2014 accepts the following optional parameters:

'exptang',exptang Overlay actual response patterns with the experimetal polar target angles exptang.
'exprang',exprang Experimetal polar response angles exprang corresponding to exptang.
'MarkerSize',ms Set the marker (circles) size of the overlaying response pattern to ms. Default value is 6.
'cmax',cmax Set the maximum probability of the color code to cmax. Default value is 0.1.

plot_baumgartner2014 takes the following flags at the end of the line of input arguments:

'colorbar' Display the colorbar. This is the default.
'nocolorbar' Do not display the colorbar.

References:

R. Baumgartner, P. Majdak, and B. Laback. Modeling sound-source localization in sagittal planes for human listeners. The Journal of the Acoustical Society of America, 136(2):791--802, 2014. [ DOI ]