<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Dear FIELDTRIP LIST,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
I would like to consult you on a problem with ft_multiplotER(). </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1">
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 style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1">
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 style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2">
>>> cfg = []; cfg.layout = lay; </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2">
>>> cfg.layout = ft_prepare_layout(cfg); </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2">
>>> figure; ft_plot_layout(cfg.layout);<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2">
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 style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2 ContentPasted3">
>>> 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 style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2 ContentPasted3">
>>> 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 style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2 ContentPasted3">
>>> 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 style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2 ContentPasted3">
>>> 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>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2 ContentPasted3">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2 ContentPasted3">
The resulting variable seems to be identical to how a layout variable should look like:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2 ContentPasted3 ContentPasted4">
<a href="https://urldefense.com/v3/__https://www.fieldtriptoolbox.org/tutorial/layout/__;!!HJOPV4FYYWzcc1jazlU!9PYaDvhUZMP15YVGWehImlViFAdYZ6DWO_ZfYKh6a-p7cCCRXUWaF5b_BKpuIppXQC_g8hsgR3W90xksEYNS0Qt4-sM-$" id="LPlnk627430">https://www.fieldtriptoolbox.org/tutorial/layout/</a><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2 ContentPasted3">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2 ContentPasted3">
I sincerely hope that someone could help me with this issue. Thank you so much in advance!</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2 ContentPasted3">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2 ContentPasted3">
Best regards,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2 ContentPasted3">
Samuel</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1">
<br>
</div>
</body>
</html>