<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 Elene,
<div class=""><br class="">
</div>
<div class="">This is not possible from the label field alone. If anything, you also need a specification of corresponding positions (either in 3D space, or as a 2D projection).<br class="">
<div>Please refer to <a href="http://www.fieldtriptoolbox.org/tutorial/layout/" class="">http://www.fieldtriptoolbox.org/tutorial/layout/</a> for more information. If there is, as I suspect in your case, a mismatch between the exact label names, and the names
 of the labels in one of the existing layout files (e.g. biosemi128.lay), you can consider making your local copy of that file, and adjust the names of the labels according to your needs (e.g. change ‘Fp1' into 'Fp 1’ or so).</div>
<div><br class="">
</div>
<div>Good luck,</div>
<div><br class="">
</div>
<div>Jan-Mathijs</div>
<div> </div>
<div><br class="">
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 1 Jun 2019, at 10:35, Elene Beitia Loinaz <<a href="mailto:elene.beitia@alumni.mondragon.edu" class="">elene.beitia@alumni.mondragon.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Hi,
<div class=""><br class="">
</div>
<div class="">And is there some way of creating a layout from the *.label field?</div>
<div class=""><br class="">
</div>
<div class="">Thank you in advance</div>
<div class=""><br class="">
</div>
<div class="">Elene.</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Hau idatzi du Schoffelen, J.M. (Jan Mathijs) (<a href="mailto:jan.schoffelen@donders.ru.nl" class="">jan.schoffelen@donders.ru.nl</a>) erabiltzaileak (2019 mai. 30, og. (11:49)):<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi Elene,<br class="">
<br class="">
Please check the names of the electrode labels in the layout file, and compare them with the ones in your *.label field.<br class="">
Only the exactly matching tokens will be shown in the figure. <br class="">
<br class="">
Jan-Mathijs<br class="">
<br class="">
> On 30 May 2019, at 10:35, Elene Beitia Loinaz <<a href="mailto:elene.beitia@alumni.mondragon.edu" target="_blank" class="">elene.beitia@alumni.mondragon.edu</a>> wrote:<br class="">
> <br class="">
> Hi Fieldtripers,<br class="">
> <br class="">
> I want to plot all the channels powerspectrum using ft_multiplotTFR.<br class="">
> <br class="">
> I have the next configuration in the ft_freq analiysis:<br class="">
> <br class="">
>                       cfg              = [];<br class="">
>                       cfg.continuous   = 'yes';<br class="">
>                       cfg.output       = 'pow';<br class="">
>                       cfg.method       = 'mtmconvol'; <br class="">
>                       cfg.taper        = 'hanning';    <br class="">
>                       cfg.toi          = [0:0.0039063:1];%[0: 0.0039063 : 479.9961];<br class="">
>                       cfg.foi          = 8:12;<br class="">
>                       cfg.t_ftimwin    = ones(length(cfg.foi),1)./10;<br class="">
>                       cfg.feedback     = 'no';<br class="">
>                       cfg.hassampleinfo= 'yes';<br class="">
> <br class="">
>                      data_Fourier_TFR1 = ft_freqanalysis(cfg, data);<br class="">
> <br class="">
> and this is the  data_Fourier_TFR1  structure that I obtained:<br class="">
>                        label: {128×1 cell}<br class="">
>                        dimord: 'chan_freq_time'<br class="">
>                        freq: [8 9 10 11 12]<br class="">
>                        time: [1×256 double]<br class="">
>                        powspctrm: [128×5×256 double]<br class="">
>                       elec: [1×1 struct]<br class="">
>                       cfg: [1×1 struct]<br class="">
> <br class="">
> I yse the next configuration in multiplot_TFR:<br class="">
>                       cfg = [];<br class="">
>                       cfg.parameter = 'powspctrm';<br class="">
>                       cfg.layout = 'bioSemi128.lay';<br class="">
>                       cfg.zlim = [-20 20];<br class="">
>                       cfg.colorbar='yes';<br class="">
>                       cfg.baselinetype = 'absolute';<br class="">
> <br class="">
>                       ft_multiplotTFR(cfg, data_Fourier_TFR1)<br class="">
> <br class="">
> It does not give me any error but I do not obtained to plot all the channels. The image that I obtained is the following one:<br class="">
> <br class="">
> <image.png><br class="">
> <br class="">
> Does someone how to solve this?<br class="">
> Thanks,<br class="">
> <br class="">
> Elene.<br class="">
> _______________________________________________<br class="">
> fieldtrip mailing list<br class="">
> <a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank" class="">
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">
> <a href="https://doi.org/10.1371/journal.pcbi.1002202" rel="noreferrer" target="_blank" class="">
https://doi.org/10.1371/journal.pcbi.1002202</a><br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">
<a href="https://doi.org/10.1371/journal.pcbi.1002202" rel="noreferrer" target="_blank" class="">https://doi.org/10.1371/journal.pcbi.1002202</a><br class="">
</blockquote>
</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>