<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Kyongsik,<div><br></div><div>the coherence values returned are not masked by significance. To mask them you need to use the 'cohboot' threshold values. There is one threshold value for each frequency in 'cohboot', so you need to use repmat to make 'cohboot' the same size as 'coh'</div><div><br></div><div>mask = coh > repmat(cohboot, [ 1 size(coh,2) ]); % mask of 0 and 1</div><div>figure; imagesc(timesout, freqsout, coh .* mask); % plot</div><div>cl = caxis; caxis([-cl(2) cl(2)]); % color axis</div><div><br></div><div>Best,</div><div><br></div><div>Arno</div><div><br></div><div><div><div>On 1 nov. 08, at 04:41, Kyongsik Yun wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">I used<br>[coh,mcoh,timesout,freqsout,cohboot,cohangles]= pop_newcrossf( eeg, 1, i, j, [-2000 1998], [3 0.5] ,'type', 'phasecoher', 'topovec', [i j], 'elocs', chanlocs, 'chaninfo', chaninfo, <b>'alpha', 0.01</b>,'padratio', 4);<br> <br>I obtained 'coherence' color coded time-frequency map. I saw the non-significant output values as green in the map.<br>As far as I know, this 'coherence' values is in the variable 'coh'. However, I cannot find any '0' values in 'coh', while the map shows 'green'.<br> This is strange.<br><br><u>I want to get statistically significant 'phase coherence' values using option 'alpha', but I think I misued the option 'alpha' or something.</u><br><br>Thank you.<br><br> Kyongsik Yun<br></blockquote></div><br></div></body></html>