[FieldTrip] Problem with Multiplot_TFR

Schoffelen, J.M. (Jan Mathijs) jan.schoffelen at donders.ru.nl
Thu May 30 11:49:05 CEST 2019


Hi Elene,

Please check the names of the electrode labels in the layout file, and compare them with the ones in your *.label field.
Only the exactly matching tokens will be shown in the figure. 

Jan-Mathijs

> On 30 May 2019, at 10:35, Elene Beitia Loinaz <elene.beitia at alumni.mondragon.edu> wrote:
> 
> Hi Fieldtripers,
> 
> I want to plot all the channels powerspectrum using ft_multiplotTFR.
> 
> I have the next configuration in the ft_freq analiysis:
> 
>                       cfg              = [];
>                       cfg.continuous   = 'yes';
>                       cfg.output       = 'pow';
>                       cfg.method       = 'mtmconvol'; 
>                       cfg.taper        = 'hanning';    
>                       cfg.toi          = [0:0.0039063:1];%[0: 0.0039063 : 479.9961];
>                       cfg.foi          = 8:12;
>                       cfg.t_ftimwin    = ones(length(cfg.foi),1)./10;
>                       cfg.feedback     = 'no';
>                       cfg.hassampleinfo= 'yes';
> 
>                      data_Fourier_TFR1 = ft_freqanalysis(cfg, data);
> 
> and this is the  data_Fourier_TFR1  structure that I obtained:
>                        label: {128×1 cell}
>                        dimord: 'chan_freq_time'
>                        freq: [8 9 10 11 12]
>                        time: [1×256 double]
>                        powspctrm: [128×5×256 double]
>                       elec: [1×1 struct]
>                       cfg: [1×1 struct]
> 
> I yse the next configuration in multiplot_TFR:
>                       cfg = [];
>                       cfg.parameter = 'powspctrm';
>                       cfg.layout = 'bioSemi128.lay';
>                       cfg.zlim = [-20 20];
>                       cfg.colorbar='yes';
>                       cfg.baselinetype = 'absolute';
> 
>                       ft_multiplotTFR(cfg, data_Fourier_TFR1)
> 
> 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:
> 
> <image.png>
> 
> Does someone how to solve this?
> Thanks,
> 
> Elene.
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://doi.org/10.1371/journal.pcbi.1002202


_______________________________________________
fieldtrip mailing list
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
https://doi.org/10.1371/journal.pcbi.1002202


More information about the fieldtrip mailing list