<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<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">
Good morning,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thank you for the suggestion, I have now tried using 270 instead of -90 with cfg.rotate and the issue still persists.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Kind regards,</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">
Petar Atanasov</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> fieldtrip <fieldtrip-bounces@science.ru.nl> on behalf of fieldtrip-request@science.ru.nl <fieldtrip-request@science.ru.nl><br>
<b>Sent:</b> 01 August 2023 11:00<br>
<b>To:</b> fieldtrip@science.ru.nl <fieldtrip@science.ru.nl><br>
<b>Subject:</b> fieldtrip Digest, Vol 153, Issue 1</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">[You don't often get email from fieldtrip-request@science.ru.nl. Learn why this is important at
<a href="https://urldefense.com/v3/__https://aka.ms/LearnAboutSenderIdentification__;!!HJOPV4FYYWzcc1jazlU!8iTHHIwQdSFfHeM4kISO2yK0F6SHSGWcyQuoRnsy-cp-IzOyAJyWoFoY1zdweZTiwvPn_qyO3DQLvEZgjgPdN1awQVU$">https://aka.ms/LearnAboutSenderIdentification</a> ]<br>
<br>
Send fieldtrip mailing list submissions to<br>
fieldtrip@science.ru.nl<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip">https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.science.ru.nl%2Fmailman%2Flistinfo%2Ffieldtrip&data=05%7C01%7Cpatanasov%40uclan.ac.uk%7Cd770fb746c5240beed0608db92769b60%7Cebf69982036b4cc4b2027aeb194c5065%7C0%7C0%7C638264810352946528%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ziryAH%2F7rAi1ea%2BR5gjFJbLdtdeprxfhlCWo%2FPRtOH4%3D&reserved=0</a><br>
or, via email, send a message with subject or body 'help' to<br>
fieldtrip-request@science.ru.nl<br>
<br>
You can reach the person managing the list at<br>
fieldtrip-owner@science.ru.nl<br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of fieldtrip digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Inquiry regarding "cfg.rotate" (Petar Atanasov)<br>
2. Re: Inquiry regarding "cfg.rotate" (Tom Marshall)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 1 Aug 2023 07:30:00 +0000<br>
From: Petar Atanasov <PAtanasov@uclan.ac.uk><br>
To: "fieldtrip@science.ru.nl" <fieldtrip@science.ru.nl><br>
Subject: [FieldTrip] Inquiry regarding "cfg.rotate"<br>
Message-ID:<br>
<VI1PR03MB2895CE5460B423241F88E4CEF205A@VI1PR03MB2895.eurprd03.prod.outlook.com><br>
<br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Good evening,<br>
I am currently analysing some co-registered eye-tracking and electroencephalography fixation-related potential (FRP) data.<br>
I am using MATLAB 2022b but I have also replicated the issue with MATLAB 2020b.<br>
For the pre-processing of the data, I have used EEGLAB 2023.0 as well as the EYE-EEG 0.99 and Unfold.<br>
<br>
I have been trying to plot topographies and waveforms via the "ft_multiplotER" and the "ft_topoplotER" functions, such that my frontal electrodes are at the top of the image and the occipital electrodes are at the bottom of the image.<br>
However, when I plot the data both with the default as well as with "-90" or "90" degree rotation via "cfg.rotate", my images always show frontal electrodes on the right and occipital electrodes on the left.<br>
<br>
When I plot the channel locations with the same coordinates in EEGLAB I get the images with the correct orientation for all electrodes.<br>
<br>
Can you please advice on how I may be able to rotate my images correctly and why is it that "cfg.rotate" may not be working as expected?<br>
<br>
I am happy to provide further information as needed.<br>
Thank you in advance for your feedback and assistance with my inquiry.<br>
Kind regards,<br>
<br>
Petar Atanasov<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20230801/0cf3fc67/attachment-0001.htm">https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmailman.science.ru.nl%2Fpipermail%2Ffieldtrip%2Fattachments%2F20230801%2F0cf3fc67%2Fattachment-0001.htm&data=05%7C01%7Cpatanasov%40uclan.ac.uk%7Cd770fb746c5240beed0608db92769b60%7Cebf69982036b4cc4b2027aeb194c5065%7C0%7C0%7C638264810352946528%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=8BJfj9Fmyagp3ZF3YCLCVZBrNn%2B92AwvBfNC4emf5CI%3D&reserved=0</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 1 Aug 2023 08:50:44 +0000<br>
From: Tom Marshall <tom.marshall@psy.ox.ac.uk><br>
To: FieldTrip discussion list <fieldtrip@science.ru.nl><br>
Subject: Re: [FieldTrip] Inquiry regarding "cfg.rotate"<br>
Message-ID: <5DF104D5-14E8-41F4-A58A-620A2DF6CC75@psy.ox.ac.uk><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Petar,<br>
<br>
If you replace ‘-90’ with ‘270’, does that produce the rotation you want?<br>
<br>
Just a hunch, based on Robert’s suggestion in <a href="https://urldefense.com/v3/__https://github.com/fieldtrip/fieldtrip/issues/1674__;!!HJOPV4FYYWzcc1jazlU!60QKCY0R3GJgesY3D65R61rkvsPCyUDVpHSnavjhWSDCpQ2Vu-BW3lZhV1WPd6hmlTyBG01GQtvtkIb4n2sca54o-uJkN7VJ$">
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Fgithub.com%2Ffieldtrip%2Ffieldtrip%2Fissues%2F1674__%3B!!HJOPV4FYYWzcc1jazlU!60QKCY0R3GJgesY3D65R61rkvsPCyUDVpHSnavjhWSDCpQ2Vu-BW3lZhV1WPd6hmlTyBG01GQtvtkIb4n2sca54o-uJkN7VJ%24&data=05%7C01%7Cpatanasov%40uclan.ac.uk%7Cd770fb746c5240beed0608db92769b60%7Cebf69982036b4cc4b2027aeb194c5065%7C0%7C0%7C638264810352946528%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=LZCZUOEaZJ4h0qqI4ebvFewBCE8dJ3uPnhTBZfjTrnY%3D&reserved=0</a>
.<br>
<br>
Best,<br>
Tom<br>
<br>
<br>
From: fieldtrip <fieldtrip-bounces@science.ru.nl> on behalf of Petar Atanasov via fieldtrip <fieldtrip@science.ru.nl><br>
Reply to: FieldTrip discussion list <fieldtrip@science.ru.nl><br>
Date: Tuesday, 1 August 2023 at 09:19<br>
To: "fieldtrip@science.ru.nl" <fieldtrip@science.ru.nl><br>
Cc: Petar Atanasov <PAtanasov@uclan.ac.uk><br>
Subject: [FieldTrip] Inquiry regarding "cfg.rotate"<br>
<br>
Good evening,<br>
I am currently analysing some co-registered eye-tracking and electroencephalography fixation-related potential (FRP) data.<br>
I am using MATLAB 2022b but I have also replicated the issue with MATLAB 2020b.<br>
For the pre-processing of the data, I have used EEGLAB 2023.0 as well as the EYE-EEG 0.99 and Unfold.<br>
<br>
I have been trying to plot topographies and waveforms via the "ft_multiplotER" and the "ft_topoplotER" functions, such that my frontal electrodes are at the top of the image and the occipital electrodes are at the bottom of the image.<br>
However, when I plot the data both with the default as well as with "-90" or "90" degree rotation via "cfg.rotate", my images always show frontal electrodes on the right and occipital electrodes on the left.<br>
<br>
When I plot the channel locations with the same coordinates in EEGLAB I get the images with the correct orientation for all electrodes.<br>
<br>
Can you please advice on how I may be able to rotate my images correctly and why is it that "cfg.rotate" may not be working as expected?<br>
<br>
I am happy to provide further information as needed.<br>
Thank you in advance for your feedback and assistance with my inquiry.<br>
Kind regards,<br>
<br>
Petar Atanasov<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20230801/2247eb25/attachment-0001.htm">https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmailman.science.ru.nl%2Fpipermail%2Ffieldtrip%2Fattachments%2F20230801%2F2247eb25%2Fattachment-0001.htm&data=05%7C01%7Cpatanasov%40uclan.ac.uk%7Cd770fb746c5240beed0608db92769b60%7Cebf69982036b4cc4b2027aeb194c5065%7C0%7C0%7C638264810352946528%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=f4kHPD5lITSUzhHwfRE1w8C157u8eD3hXBwv0nBwC6E%3D&reserved=0</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip">https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.science.ru.nl%2Fmailman%2Flistinfo%2Ffieldtrip&data=05%7C01%7Cpatanasov%40uclan.ac.uk%7Cd770fb746c5240beed0608db92769b60%7Cebf69982036b4cc4b2027aeb194c5065%7C0%7C0%7C638264810352946528%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ziryAH%2F7rAi1ea%2BR5gjFJbLdtdeprxfhlCWo%2FPRtOH4%3D&reserved=0</a><br>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip">https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.science.ru.nl%2Fmailman%2Flistinfo%2Ffieldtrip&data=05%7C01%7Cpatanasov%40uclan.ac.uk%7Cd770fb746c5240beed0608db92769b60%7Cebf69982036b4cc4b2027aeb194c5065%7C0%7C0%7C638264810352946528%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ziryAH%2F7rAi1ea%2BR5gjFJbLdtdeprxfhlCWo%2FPRtOH4%3D&reserved=0</a><br>
<a href="https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!8iTHHIwQdSFfHeM4kISO2yK0F6SHSGWcyQuoRnsy-cp-IzOyAJyWoFoY1zdweZTiwvPn_qyO3DQLvEZgjgPdr1Ia0GI$">https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdoi.org%2F10.1371%2Fjournal.pcbi.1002202&data=05%7C01%7Cpatanasov%40uclan.ac.uk%7Cd770fb746c5240beed0608db92769b60%7Cebf69982036b4cc4b2027aeb194c5065%7C0%7C0%7C638264810352946528%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=fEjV3X1aEc2s7qZZ1%2FxPLZsC%2BjRTod0q4vBs8xfhI90%3D&reserved=0</a><br>
<br>
<br>
------------------------------<br>
<br>
End of fieldtrip Digest, Vol 153, Issue 1<br>
*****************************************<br>
</div>
</span></font></div>
</body>
</html>