[Eeglablist] threshold option in std_plotcurve

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Thu Feb 2 11:30:01 PST 2017


Dear Susanne,

Sorry for the trouble.
Could you report it to EEGLAB Bugzilla by filing the case? Those reports
submitted here will be directly read by developpers.
https://sccn.ucsd.edu/bugzilla/enter_bug.cgi
I appreciate your patience and cooperation.

Meanwhile, for the initial diagnosis... judging from the error message,
'Rregions' and 'g.val2mask' seem to have different length. Can you identify
the size of these variables by using debug mode? If you can do it and the
error is obvious, we may be able to solve it by ourselves.

Makoto



On Thu, Feb 2, 2017 at 4:49 AM, Becker, Susanne <
susanne.becker at zi-mannheim.de> wrote:

> Dear all,
>
> I’m using the std_plotcurve function to plot ERPs in two different
> conditions. I wanted to used the option „threshold“ with 0.05 as a
> significance threshold. However, when using the following commend I get an
> error message:
>
> std_plotcurve(erptimes, contrasts_5(:,1), 'plotconditions', 'together',
> 'plotstderr', 'on', 'figure', 'on', 'condstats', pvals, 'threshold', 0.05
> )
>
> Calculating the stats before with:
> [F df pvals] = statcond(contrasts_5(:,1),'method', 'bootstrap‘);
>
> The error message I get is:
> Error using  <
> Matrix dimensions must agree.
>
> Error in plotcurve (line 104)
>                            Rregions  (find(g.val2mask < g.maskarray)) = 0;
>
> Error in std_plotcurve (line 400)
>                     plotcurve( allx, tmpdata{1}, 'colors', tmpcol,
> 'maskarray',
>                     tmpdata{2}, plotopt{3:end}, 'title', opt.titles{c,g});
>
> If I use NaN for the threshold option it works perfectly well. Can anybody
> tell me what I’m doing wrong?
> Best wishes
> Susanne
>
>
> -------------------------------------------------------
> Susanne Becker, PhD
> Head of Research Unit "Psychobiology of Pain“
>
> Department of Cognitive and Clinical Neuroscience
> Central Institute of Mental Health
> J5, 68159 Mannheim, Germany
> Phone: +49 (0)621 1703-6307 <+49%20621%2017036307>
> Fax: +49 (0)621 1703-6305 <+49%20621%2017036305>
> Email: susanne.becker at zi-mannheim.de
>
>
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.uc
> sd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu
>



-- 
Makoto Miyakoshi
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20170202/06ac4f6e/attachment.html>


More information about the eeglablist mailing list