[FieldTrip] Cfg.latency in ft_sourceplot not working?

Emilie Caspar ecaspar at ulb.ac.be
Thu Feb 3 19:31:32 CET 2022

Dear fieldrippers, 

I am using ft_sourceplot to plot the results of my interpolated data. The data contains a .time, which range from -.2 to 1.2 ms

I would like to plot only some specific segments, such as .3 to .8. However, whatever I indicate in the cfg.latency, the plots do not change at all (see two pictures attached), probably suggesting that the cfg.latency is somehow not taken into account.

cfg               = [];
cfg.method         = 'ortho';
cfg.atlas = atlas;
cfg.funparameter  = 'pow';
cfg.inputcoord = 'mni';
cfg.maskparameter = cfg.funparameter;
cfg.funcolormap = 'jet';
% cfg.projmethod     = 'nearest';
cfg.funcolorlim    = [0 0.2];
cfg.opacitylim    = [0.1 0.2];
%  cfg.opacitymap    = 'rampup';
cfg.latency       = [0.3 0.8];
cfg.avgovertime   = 'yes';

Would someone have an idea about the problem?

Thank you in advance!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20220203/8c05bce6/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: -200to0.png
Type: image/png
Size: 258022 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20220203/8c05bce6/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 300to800.png
Type: image/png
Size: 261035 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20220203/8c05bce6/attachment-0003.png>

More information about the fieldtrip mailing list