[FieldTrip] ft_multiplotER() Generates No Plot

u3564255 at connect.hku.hk u3564255 at connect.hku.hk
Wed May 17 20:39:11 CEST 2023


Dear FIELDTRIP LIST,

I would like to consult you on a problem with ft_multiplotER().

I have been trying to visualize data at all channels with ft_multiplotER() but no plots are shown after running it. I do see a figure image though but see no error message in the command window.

I wonder whether it has something to do with my layout object. However, it seems to be okay because topographs show electrodes in the form of some black dots and also when I run the code right below, I can see the channel labels correctly located some their corresponding scalp regions.

>>> cfg = []; cfg.layout = lay;
>>> cfg.layout = ft_prepare_layout(cfg);
>>> figure; ft_plot_layout(cfg.layout);

As the default layout file for the cap that I use is not available in the repository, I wrote some code to create my layout variable which is shown as below:

>>> lay.label = {'FP1'; 'FP2'; 'F11'; 'F7'; 'F3'; 'FZ'; 'F4'; 'F8'; 'F12'; 'FT11'; 'FC3'; 'FCZ'; 'FC4'; 'FT12'; 'T7'; 'C3'; 'CZ'; 'C4'; 'T8'; 'CP3'; 'CPZ'; 'CP4'; 'M1'; 'M2'; 'P7'; 'P3'; 'PZ'; 'P4'; 'P8'; 'O1'; 'OZ'; 'O2';};
>>> lay.pos = [-29.00 104.54; 30.00 104.65; -74.00 46.77; -70.00 61.89; -52.00 76.78; 2.00 88.73; 53.00 78.65; 70.00 61.25; 74.00 44.49; -80.00 18.56; -62.00 47.61; 3.00 57.27; 63.00 48.37; 79.00 16.39; -84.00 3.52; -69.00 14.76; 3.00 22.03; 69.00 15.76; 84.00 3.98; -67.00 -22.98; 3.00 -17.82; 67.00 -19.01; -76.00 -41.25; 77.00 -38.46; -73.00 -54.51; -56.00 -55.16; 2.00 -52.91; 56.00 -53.17; 72.00 -52.17; -29.00 -91.85; 1.00 -94.02; 30.00 -90.75];
>>> lay.height = [0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235; 0.0316604880858235];
>>> lay.width = [0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010; 0.0460317976122010];

The resulting variable seems to be identical to how a layout variable should look like:
https://urldefense.com/v3/__https://www.fieldtriptoolbox.org/tutorial/layout/__;!!HJOPV4FYYWzcc1jazlU!9PYaDvhUZMP15YVGWehImlViFAdYZ6DWO_ZfYKh6a-p7cCCRXUWaF5b_BKpuIppXQC_g8hsgR3W90xksEYNS0Qt4-sM-$ 

I sincerely hope that someone could help me with this issue. Thank you so much in advance!

Best regards,
Samuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20230517/0d9d381e/attachment.htm>


More information about the fieldtrip mailing list