<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi all,<div><br></div><div>i have a question regarding the mask-option in ft_multiplotER (and singleplotER).</div><div>After the montecarlo statistic with holm-correction, I get the following data structure:</div><div><br></div><div><div>stats = </div><div><br></div><div>      prob: [145x679 double]</div><div>      mask: [145x679 double]</div><div>      stat: [145x679 double]</div><div>       ref: [145x679 double]</div><div>    dimord: 'chan_time'</div><div>     label: {145x1 cell}</div><div>      time: [1x679 double]</div><div>       cfg: [1x1 struct]</div></div><div><br></div><div>I then use these options to plot the results:</div><div><br></div><div><div>cfg=[];</div><div>cfg.interactive='yes';</div><div>cfg.layout='4D148.lay';</div><div>cfg.zparam='stat'; </div><div>cfg.maskparameter='mask';</div><div>figure;ft_multiplotER(cfg,stats);</div></div><div><br></div><div>Unfortunately, I get the error message:</div><div><br></div><div><div>??? Error using ==> ft_multiplotER at 528</div><div>data in cfg.maskparameter should be vector with one value per channel</div></div><div><br></div><div>I am a bit confused, as this used to work fine with an older version of fieldtrip (fieldtrip-20110113).</div><div>Can anyone explain to me how to handle the mask-option. I already tried to reduce the mask-matrix to a one-value-per channel vector, but this produces the error:</div><div><br></div><div><div>??? Attempt to reference field of non-structure array.</div><div><br></div><div>Error in ==> ft_multiplotER at 527</div><div>    if min(size(datmask)) ~= 1 || max(size(datmask)) ~= length(data.label)</div></div><div><br></div><div>Maybe I missed some important changes in a recent fieldtrip-update....</div><div><br></div><div>Thanks a lot</div><div><br></div><div>Julian</div><br><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span class="Apple-style-span" style="font-size: 13px; font-weight: bold; ">Dipl. Psych. Julian Keil</span></div><div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; "><br class="khtml-block-placeholder"></span></font></div><div><i>OBOB-Lab</i></div><div>University of Konstanz</div><div>Department of Psychology</div><div>P.O. Box D25</div><div>78457 Konstanz</div><div>Germany</div><div><br></div><div><b style="font-weight: bold; ">Tel</b>: ++49 - (0)7531 - 88 42 50</div><div><b style="font-weight: bold; ">Fax</b>: ++49 - (0)7531 - 88 28 91</div><div><b style="font-weight: bold; ">Email: <span class="Apple-style-span" style="font-weight: normal; "><a href="mailto:julian.keil@uni-konstanz.de">julian.keil@uni-konstanz.de</a></span></b></div><div><b style="font-weight: bold; ">Homepage</b>: <a href="http://www.uni-konstanz.de/obob">http://www.uni-konstanz.de/obob</a></div></div><div><br></div><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br></body></html>