<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Dear Julio,<div class=""><br class=""></div><div class="">The color map used in figure 8 is ‘RdBu’ from <a href="https://de.mathworks.com/matlabcentral/fileexchange/34087-cbrewer-colorbrewer-schemes-for-matlab" class="">https://de.mathworks.com/matlabcentral/fileexchange/34087-cbrewer-colorbrewer-schemes-for-matlab</a>.</div><div class="">You might want to check the functionality of <a href="https://github.com/fieldtrip/fieldtrip/blob/master/plotting/ft_colormap.m" class="">https://github.com/fieldtrip/fieldtrip/blob/master/plotting/ft_colormap.m</a> and add a configuration of your desired colormap when calling ft_sourceplot.</div><div class=""><br class=""></div><div class="">Best</div><div class="">tzvetan</div><div class=""><br class=""></div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 18 Jan 2022, at 19:58, Julio Ignacio Rodiño Climent via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl" class="">fieldtrip@science.ru.nl</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Dear all,<div class="">I've been trying to replicate the results from the networkanalysis_tutorial (<a href="https://www.fieldtriptoolbox.org/tutorial/networkanalysis_eeg/" class="">https://www.fieldtriptoolbox.org/tutorial/networkanalysis_eeg/</a>) with the script in the folder (<a href="ftp://ftp.fieldtriptoolbox.org/pub/fieldtrip/tutorial/networkanalysis_eeg/" class="">ftp://ftp.fieldtriptoolbox.org/pub/fieldtrip/tutorial/networkanalysis_eeg/</a>). So far I was able to obtain all the figures but figure 8 in the tutorial is completely different from what I get from the script. I've checked if the script is the same from the text in the tutorial web page. That seems to be the case. I though it could be the version from fieldtrip but tried with versions 2021 and 2020 resulting in the same figure. In the tutorial web page figure 8 seems to have been plotted with cfg.funcolormap = 'hot' even though the values I get are positive and negative which, according to the ft_sourceplot documentation, is applied variables with only positive values. </div><div class=""><br class=""></div><div class="">¿Has someone been able to replicate the results form the tutorial as the appear on the tutorial's web page? More specifically, figure 8. Other figures are almost (but not exactly) as they appear.</div><div class=""><br class=""></div><div class="">Thank you all in advance!</div><div class=""><div class=""><br class=""></div>-- <br class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><font face="garamond, serif" class="">Julio Rodiño</font></div><div class=""><span style="font-family:garamond,serif" class="">+569 92078145</span><br class=""></div></div></div></div></div>
_______________________________________________<br class="">fieldtrip mailing list<br class=""><a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">https://doi.org/10.1371/journal.pcbi.1002202<br class=""></div></blockquote></div><br class=""></div></body></html>