<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="">
Hi Jan-Mathijs,
<div class=""><br class="">
</div>
<div class="">thanks for the fast response. I don’t have any other matlab figures opened. I had a look in the history of the function but was not able to identify the problem. </div>
<div class=""><br class="">
</div>
<div class="">However, if it working for you, then it is probably something related to my script/setup.</div>
<div class=""><br class="">
</div>
<div class="">Best, Patrick</div>
<div class=""><br class="">
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<b class="">Patrick Wiegel</b><br class="">
<font color="#680823" class="">Department of Sport and Sport Science</font>
<div class=""><br class="">
University of Freiburg <br class="">
Sandfangweg 4<br class="">
79117 Freiburg i. Br . <br class="">
<br class="">
<div class="">phone: +49 (0)761/ 203-4550<br class="">
<a href="mailto:patrick.wiegel@sport.uni-freiburg.de" class="">email: patrick.wiegel@sport.uni-freiburg.de</a><br class="">
web: www.sport.uni-freiburg.de</div>
</div>
</div>
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">Am 04.11.2020 um 14:45 schrieb Schoffelen, J.M. (Jan Mathijs) <<a href="mailto:jan.schoffelen@donders.ru.nl" class="">jan.schoffelen@donders.ru.nl</a>>:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Patrick,
<div class=""><br class="">
</div>
<div class="">It works fine for me, so I cannot reproduce your issue. Have you tried closing all open figures in MATLAB before calling ft_multiplotTFR?</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Since this is the second e-mail today that explicitly mentions a ‘break’ in functionality, let me seize the opportunity to point to the possibility that users can already play a little bit more detective than just mentioning ‘it worked in version
 X and not anymore in version Y’. If you go to the github repository <a href="https://github.com/fieldtrip/fieldtrip" class="">
https://github.com/fieldtrip/fieldtrip</a> you can actually check the changes to the code in more detail, by investigating the ‘history’ of the function. This already could give you a headstart in describing the problem, and would give people inclined to look
 into this with you some handles to work with.</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Best wishes,</div>
<div class=""><br class="">
</div>
<div class="">Jan-Mathijs</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On 4 Nov 2020, at 14:21, Patrick Wiegel <<a href="mailto:patrick.wiegel@sport.uni-freiburg.de" class="">patrick.wiegel@sport.uni-freiburg.de</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Dear community,
<div class=""><br class="">
</div>
<div class="">I am trying to use the function ft_multiplotTFR for time-frequency data generated by ft_frequanalyses (wavelet method) using the following code:</div>
<div class=""><br class="">
<div class="">
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Courier;" class="">
cfg = [];</div>
<div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Courier; color: rgb(160, 32, 240);" class="">
<span style="" class="">cfg.layout = </span>'biosemi64.lay'<span style="" class="">;</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Courier;" class="">
cfg.parameter = <span style="color: #a020f0" class="">'powspctrm'</span>;</div>
<div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Courier;" class="">
cfg.xlim = [0 0.9];</div>
<div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Courier;" class="">
ft_multiplotTFR(cfg, tfr_grandavg)</div>
</div>
<div class=""><br class="">
</div>
<div class="">The result of the multiplot function is a single TF plot (see attachment) rather than 64 single channel TF plots arranged in the specified layout. It might be a bug in the newer fieldtrip versions (fieldtrip-20201103) since the plot is correctly
 generated using older versions (e.g. fieldtrip-20200508). It would be great if anyone could test the function. </div>
<div class=""><br class="">
</div>
<div class="">Best, Patrick</div>
<div class=""><br class="">
</div>
<div class=""><span id="cid:C5316CEC-9B39-490E-B0F1-1BC8A2388A8D@w2k.sport.uni-freiburg.de" class=""><multiplotTFR.jpg></span><br class="">
<div class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<b class="">Patrick Wiegel</b><br class="">
<font color="#680823" class="">Department of Sport and Sport Science</font>
<div class=""><br class="">
University of Freiburg <br class="">
Sandfangweg 4<br class="">
79117 Freiburg i. Br . <br class="">
<br class="">
<div class="">phone: +49 (0)761/ 203-4550<br class="">
<a href="mailto:patrick.wiegel@sport.uni-freiburg.de" class="">email: patrick.wiegel@sport.uni-freiburg.de</a><br class="">
web: <a href="http://www.sport.uni-freiburg.de/" class="">www.sport.uni-freiburg.de</a></div>
</div>
</div>
</div>
<br class="">
</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="">
<a href="https://doi.org/10.1371/journal.pcbi.1002202" class="">https://doi.org/10.1371/journal.pcbi.1002202</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</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>