[FieldTrip] Problem with Multiplot_TFR

Elene Beitia Loinaz elene.beitia at alumni.mondragon.edu
Thu May 30 10:35:09 CEST 2019


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: image.png]

Does someone how to solve this?
Thanks,

Elene.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20190530/09518e23/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 13129 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20190530/09518e23/attachment-0001.png>
-------------- next part --------------
_______________________________________________
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