<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Arial",sans-serif;
        color:windowtext;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US">Hi Jan-Mathijs,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US">Thank you for your kind reply.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US">I could not actually figure it out myself, but I forced the template to rotate by modifying elec.chanpos.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US">Here is the code I used, and I also attach the files from one subject:<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">fileName = [folderPath participants{i}
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#AA04F9">'\'</span><span style="font-size:10.0pt;font-family:"Courier New";color:black"> participants{i}
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#AA04F9">'_'</span><span style="font-size:10.0pt;font-family:"Courier New";color:black"> conditions{j}
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#AA04F9">'.set'</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">];</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">       
</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">cfg = [];
</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">cfg.dataset = fileName;</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black"></span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:#028009">% Load the data from EEGlab to FieldTrip</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">data{i,j} = ft_preprocessing(cfg);</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">       
</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:#028009">% Set parameters</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">cfg.method      =
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#AA04F9">'mtmfft'</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">;</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">cfg.output      =
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#AA04F9">'pow'</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">;</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">cfg.channel     =
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#AA04F9">'all'</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">;</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">cfg.trials      =
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#AA04F9">'all'</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">;</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">cfg.keeptrials  =
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#AA04F9">'yes'</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">;    
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#028009">% no=compute the average power across the trials, otherwise 'yes'</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">cfg.pad         =
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#AA04F9">'nextpow2'</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">;</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">cfg.taper       =
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#AA04F9">'dpss'</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">;</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">cfg.tapsmofrq   = 2;</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">cfg.foi         = 4:35;
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#028009">% frequency band of interest with stepsize</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">       
</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:#028009">% Extract the frequencies</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">freq{i,j} = ft_freqanalysis(cfg, data{i,j});</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">       
</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:#028009">% Invert X and Y electrode position due to a mismatch between fieldtrip and EEGlab</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">newCoordinates = [2 1 3];</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">freq{i,j}.elec.chanpos = freq{i,j}.elec.chanpos(:,newCoordinates);</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">freq{i,j}.elec.chanpos(:,1) = -freq{i,j}.elec.chanpos(:,1);</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">freq{i,j}.elec.elecpos = freq{i,j}.elec.elecpos(:,newCoordinates);</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">freq{i,j}.elec.elecpos(:,1) = -freq{i,j}.elec.elecpos(:,1);</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US">If you know a more elegant way to make it work, I would be happy to use it.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US">Thank you once again for the help,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US">Giuseppe<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<div>
<div>
<div>
<div class="MsoNormal" style="background:white"><span lang="DE-CH" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:EN-GB">
<hr size="2" width="100%" align="left">
</span></div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:2.4pt;mso-para-margin-bottom:.2gd;background:white">
<b><span lang="EN-GB" style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:EN-GB">Dr. Giuseppe Angelo Zito</span></b><span lang="EN-GB" style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#222222;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.4pt;mso-para-margin-bottom:.2gd;background:white">
<span lang="EN-GB" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959;mso-fareast-language:EN-GB">Principal Investigator, Swiss National Science Foundation<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.4pt;mso-para-margin-bottom:.2gd;background:white">
<span lang="EN-GB" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.4pt;mso-para-margin-bottom:.2gd;background:white">
<span lang="EN-GB" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959;mso-fareast-language:EN-GB">Decision Neuroscience Lab<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.4pt;mso-para-margin-bottom:.2gd;background:white">
<span lang="EN-GB" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959;mso-fareast-language:EN-GB">Department of Health Sciences and Technology (D-HEST)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.4pt;mso-para-margin-bottom:.2gd;background:white">
<span lang="EN-GB" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959;mso-fareast-language:EN-GB">ETH – Swiss Federal Institute of Technology Zurich<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.4pt;mso-para-margin-bottom:.2gd;background:white">
<span lang="FR-CH" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.4pt;mso-para-margin-bottom:.2gd;background:white">
<span lang="FR-CH" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959;mso-fareast-language:EN-GB">Winterthurerstrasse 190<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.4pt;mso-para-margin-bottom:.2gd;background:white">
<span lang="FR-CH" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959;mso-fareast-language:EN-GB">8057 Zürich
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.4pt;mso-para-margin-bottom:.2gd;background:white">
<span lang="FR-CH" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959;mso-fareast-language:EN-GB">Switzerland<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959">Tel: +41 44 633 05 17<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959">mailto: giuseppeangelo.zito@hest.ethz.ch<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> fieldtrip <fieldtrip-bounces@science.ru.nl>
<b>On Behalf Of </b>Schoffelen, J.M. (Jan Mathijs) via fieldtrip<br>
<b>Sent:</b> 15 August 2022 08:55<br>
<b>To:</b> FieldTrip discussion list <fieldtrip@science.ru.nl><br>
<b>Cc:</b> Schoffelen, J.M. (Jan Mathijs) <janmathijs.schoffelen@donders.ru.nl><br>
<b>Subject:</b> Re: [FieldTrip] Layout rotated by 90 deg<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi Giuseppe,  <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">At first sight it looks as if something is not going right with the specified rotation of the electrode positions. Have you tried to set a breakpoint in the code and go through it step by step to see what is happening in detail? This should
 give you some more clues about what is not going entirely right. It’s hard from a distance to diagnose this.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">If you have difficulties in diagnosing it yourself, you may want to share some relevant data with us (at minimum your data.elec) so that an adventurous colleague - who is reading along - can have a go at it.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Best wishes,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Jan-Mathijs<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">On 9 Aug 2022, at 18:51, Zito Giuseppe Angelo via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl">fieldtrip@science.ru.nl</a>> wrote:<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">Dear Fieldtrip experts,</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">I have a problem with the EEG layout, which appears to be rotated by 90 degrees.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">I import data from EEGlab (power spectra), and run the stats in fieldtrip (</span><span style="font-size:10.0pt;font-family:"Courier New"">ft_freqstatistics</span><span lang="EN-GB" style="font-size:12.0pt;font-family:"Courier New"">)</span><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">I have my own layout with 118 electrodes, which I created with<span class="apple-converted-space"> </span></span><span style="font-size:10.0pt;font-family:"Courier New"">ft_prepare_layout</span><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New"">.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">While calling<span class="apple-converted-space"> </span></span><span style="font-size:10.0pt;font-family:"Courier New"">ft_clusterplot</span><span class="apple-converted-space"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif"> </span></span><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">or<span class="apple-converted-space"> </span></span><span style="font-size:10.0pt;font-family:"Courier New"">ft_topoplotER</span><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">,
 Matlab sends the following warning:</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:12.0pt;font-family:"Courier New""> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New"">the input is freq data with 118 channels, 4 frequencybins and no timebins</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New"">creating layout from data.elec</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New"">creating layout for ext1020 system</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New"">Warning: use cfg.rotate to specify the correct rotation of the sensors</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New""> In ft_prepare_layout>sens2lay at line 1300</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New"">In ft_prepare_layout at line 596</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New"">In ft_clusterplot at line 123</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New""> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">The resulting topoplot is indeed tilted (see picture attached).</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">I tried to add<span class="apple-converted-space"> </span></span><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New"">cfg.rotate = -90</span><span class="apple-converted-space"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif"> </span></span><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">and
 run again<span class="apple-converted-space"> </span></span><span style="font-size:10.0pt;font-family:"Courier New"">ft_prepare_layout</span><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New"">,<span class="apple-converted-space"> </span></span><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">but
 the problem was unsolved.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">Could you please help to solve this issue?</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">In case I have to modify the layout with<span class="apple-converted-space"> </span></span><span style="font-size:10.0pt;font-family:"Courier New"">ft_prepare_layout</span><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New"">,</span><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">could
 you please give me a sample code to fix that?</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">Thank you very much,</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">Giuseppe Zito</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"> </span><o:p></o:p></p>
</div>
<div>
<div>
<div>
<div>
<div class="MsoNormal" style="background:white"><span lang="DE-CH" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">
<hr size="2" width="100%" align="left">
</span></div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:2.4pt;background:white"><b><span lang="EN-GB" style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">Dr. Giuseppe Angelo Zito</span></b><o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:2.4pt;background:white"><span lang="EN-GB" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959">Principal Investigator, Swiss National Science Foundation</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:2.4pt;background:white"><span lang="EN-GB" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:2.4pt;background:white"><span lang="EN-GB" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959">Decision Neuroscience Lab</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:2.4pt;background:white"><span lang="EN-GB" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959">Department of Health Sciences and Technology (D-HEST)</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:2.4pt;background:white"><span lang="EN-GB" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959">ETH – Swiss Federal Institute of Technology Zurich</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:2.4pt;background:white"><span lang="FR-CH" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:2.4pt;background:white"><span lang="FR-CH" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959">Winterthurerstrasse 190</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:2.4pt;background:white"><span lang="FR-CH" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959">8057 Zürich</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:2.4pt;background:white"><span lang="FR-CH" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959">Switzerland</span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959">Tel: +41 44 633 05 17</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959">mailto:<span class="apple-converted-space"> </span><a href="mailto:giuseppeangelo.zito@hest.ethz.ch">giuseppeangelo.zito@hest.ethz.ch</a></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p class="MsoNormal"><Untitled.png><span style="font-size:10.5pt;font-family:"Helvetica",sans-serif">_______________________________________________<br>
fieldtrip mailing list<br>
</span><a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip"><span style="font-size:10.5pt;font-family:"Helvetica",sans-serif">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</span></a><span style="font-size:10.5pt;font-family:"Helvetica",sans-serif"><br>
</span><a href="https://urldefense.com/v3/__https:/doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!_Yw6qS8Z5niJVPKpRGNnGlL7pmqC9sbtd8zsEvVYoivZqCt0pPdamcl6IWl_kpYELPkMcqTeMrU8sw6NzkN140T2g1iK5gvA0jr9mQ$"><span style="font-size:10.5pt;font-family:"Helvetica",sans-serif">https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!_Yw6qS8Z5niJVPKpRGNnGlL7pmqC9sbtd8zsEvVYoivZqCt0pPdamcl6IWl_kpYELPkMcqTeMrU8sw6NzkN140T2g1iK5gvA0jr9mQ$</span></a><span class="apple-converted-space"><span style="font-size:10.5pt;font-family:"Helvetica",sans-serif"> </span></span><span style="font-size:10.5pt;font-family:"Helvetica",sans-serif"> </span><o:p></o:p></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>