[FieldTrip] multi plot and layout

Emilie Caspar ecaspar at ulb.ac.be
Fri Jan 2 11:23:04 CET 2015


Dear Fieldtrippers, 

It's probably a very simple question but I don't understand the problem.

I would like to use multi plot and topoplot for my data.
So I wrote:

cfg  = [];
cfg.xlim = [-0.1 0.4];
cfg.ylim = [-10 13];
cfg.layout = 'biosemi64.lay';
figure;
ft_multiplotER(cfg, avgRobotC_ToneC, avgRobotC_ToneI, avgRobotI_ToneC, avgRobotI_ToneI);


However, the mistake indicates that labels in data and labels in layout do not match. However, I'm sure of the layout I'm using and in addition, when I'm using the ft_rejectvisual (in the same script) with the following line codes, it works very well:

cfg             = [];
        cfg.alim        = 100;
        cfg.keepchannel = 'yes';
        cfg.layout      = 'biosemi64.lay';
        cfg.method      = 'channel'; %% Or 'trial'
        cfg.metric      = 'var';
        clean_data    = ft_rejectvisual(cfg, epData); 
…...

So I clearly don't understand why multi plot and topoplot do not accept this layout, while the layout is accepted for another function in the same script on the same data.  Singleplot works very well.

Have you any idea?

Thanks!

Emilie

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20150102/888e4a76/attachment.html>


More information about the fieldtrip mailing list