<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Samuel,
<div class=""><br class="">
<div class="">From your question it is not clear in detail what you exactly try to achieve, but perhaps you want to look into the consistency of the naming of the channels in your data w.r.t. the channel names in the lay. These should match, before anything
an be visualized.</div>
<div class=""><br class="">
</div>
<div class="">Good luck,</div>
<div class="">Jan-Mathijs</div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 17 May 2023, at 20:39, u3564255--- via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl" class="">fieldtrip@science.ru.nl</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="elementToProof" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
Dear FIELDTRIP LIST,</div>
<div class="elementToProof" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br class="">
</div>
<div class="elementToProof ContentPasted0" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
I would like to consult you on a problem with ft_multiplotER(). </div>
<div class="elementToProof ContentPasted0" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br class="">
</div>
<div class="elementToProof ContentPasted1 ContentPasted0" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
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.</div>
<div class="elementToProof ContentPasted1 ContentPasted0" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br class="">
</div>
<div class="elementToProof ContentPasted1 ContentPasted0" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
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.</div>
<div class="ContentPasted2 ContentPasted1 elementToProof ContentPasted0" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br class="">
</div>
<div class="ContentPasted2 ContentPasted1 elementToProof ContentPasted0" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
>>> cfg = []; cfg.layout = lay; </div>
<div class="ContentPasted2 ContentPasted1 elementToProof ContentPasted0" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
>>> cfg.layout = ft_prepare_layout(cfg); </div>
<div class="ContentPasted2 ContentPasted1 elementToProof ContentPasted0" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
>>> figure; ft_plot_layout(cfg.layout);<br class="">
</div>
<div class="ContentPasted2 ContentPasted1 elementToProof ContentPasted0" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br class="">
</div>
<div class="ContentPasted2 ContentPasted1 elementToProof ContentPasted0" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
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:</div>
<div class="ContentPasted2 ContentPasted1 elementToProof ContentPasted0" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br class="">
</div>
<div class="ContentPasted2 ContentPasted1 elementToProof ContentPasted0 ContentPasted3" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
>>> 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';}; </div>
<div class="ContentPasted2 ContentPasted1 elementToProof ContentPasted0 ContentPasted3" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
>>> 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]; </div>
<div class="ContentPasted2 ContentPasted1 elementToProof ContentPasted0 ContentPasted3" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
>>> 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]; </div>
<div class="ContentPasted2 ContentPasted1 elementToProof ContentPasted0 ContentPasted3" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
>>> 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];<br class="">
</div>
<div class="ContentPasted2 ContentPasted1 elementToProof ContentPasted0 ContentPasted3" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br class="">
</div>
<div class="ContentPasted2 ContentPasted1 elementToProof ContentPasted0 ContentPasted3" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
The resulting variable seems to be identical to how a layout variable should look like:</div>
<div class="ContentPasted2 ContentPasted1 elementToProof ContentPasted0 ContentPasted3 ContentPasted4" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
<a href="https://urldefense.com/v3/__https://www.fieldtriptoolbox.org/tutorial/layout/__;!!HJOPV4FYYWzcc1jazlU!9PYaDvhUZMP15YVGWehImlViFAdYZ6DWO_ZfYKh6a-p7cCCRXUWaF5b_BKpuIppXQC_g8hsgR3W90xksEYNS0Qt4-sM-$" id="LPlnk627430" class="">https://www.fieldtriptoolbox.org/tutorial/layout/</a><br class="">
</div>
<div class="ContentPasted2 ContentPasted1 elementToProof ContentPasted0 ContentPasted3" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br class="">
</div>
<div class="ContentPasted2 ContentPasted1 elementToProof ContentPasted0 ContentPasted3" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
I sincerely hope that someone could help me with this issue. Thank you so much in advance!</div>
<div class="ContentPasted2 ContentPasted1 elementToProof ContentPasted0 ContentPasted3" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br class="">
</div>
<div class="ContentPasted2 ContentPasted1 elementToProof ContentPasted0 ContentPasted3" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
Best regards,</div>
<div class="ContentPasted2 ContentPasted1 elementToProof ContentPasted0 ContentPasted3" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
Samuel</div>
<div class="elementToProof ContentPasted1 ContentPasted0" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br class="">
</div>
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">fieldtrip
mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<a href="https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!8gVf0Q5k0NARaDMIvYC4jiJK4o7GwXLW4ArJi3b5gIozOY15KLWtsOdQb9muR-N3npLAHT3vYH3CjFZUXBm7sivOAYLcUL0ulRE2sA$" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!8gVf0Q5k0NARaDMIvYC4jiJK4o7GwXLW4ArJi3b5gIozOY15KLWtsOdQb9muR-N3npLAHT3vYH3CjFZUXBm7sivOAYLcUL0ulRE2sA$</a><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""></span></div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>