<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=iso-8859-1">
<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:"Cambria Math";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@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;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
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 lang="DE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Dear FieldTrip community,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">My name is Son Ta Dinh and I am working in the Painlab group of Markus Ploner in Munich on EEG resting state in chronic pain conditions. I have recently started using FieldTrip and am currently trying to use ft_multiplotER
 to create an overview of the power spectra of all the electrodes in specific frequency bands. In principle, this works without a problem. However, I have noticed that the axes of the plot are shifted so that the origin is always included in the plot, even
 when my data does not include the low frequencies around 0. This creates weird overlaps as can be seen in the attached figure or the picture below. Is this intended or am I missing some setting to get the right plots?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">My cfg consists only of the path to the layout-file, cfg.showlabels = ‘yes’ and cfg.showoutline = ‘yes’<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">My data looks like this:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Data.label: {65x1 cell}<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Data.dimord: 'chan_freq'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Data.freq: [1x61 double]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Data.powspctrm: [65x61 double]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Data.cfg: [1x1 struct]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Unexpectedly, when I change the hlim to e.g. [40 60] instead of the [40 100] that is shown in the figure below, the shift becomes even more pronounced.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">When using ft_singleplotER though, the axes are shown correctly, without any shifts in x- nor y-direction.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">As a workaround, I have tried setting cfg.axes = ‘no’ and cfg.box = ‘yes’, which fits the plots into a box and works better, though not optimally as the labels are partially covered.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I would be grateful if anybody could point out any mistakes in my usage of ft_multiplotER or offer better alternatives/workarounds.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Son<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:7.5pt;font-family:"Times New Roman",serif;color:#888888;mso-fareast-language:DE">Son Ta Dinh, M.Sc.</span><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#888888;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:7.5pt;font-family:"Times New Roman",serif;color:#888888;mso-fareast-language:DE">PhD student in Human Pain Research</span><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#888888;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Times New Roman",serif;color:#888888;mso-fareast-language:DE">Klinikum rechts der Isar</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#888888;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Times New Roman",serif;color:#888888;mso-fareast-language:DE">Technische Universität München<br>
Munich, Germany<br>
Phone: <a href="tel:%2B49%2089%204140%207664" target="_blank"><span style="color:blue">+49 89 4140 7664</span></a><br>
<a href="http://www.painlabmunich.de/" target="_blank"><span style="color:blue">http://www.painlabmunich.de/</span></a></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#888888;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:DE"><img border="0" width="669" height="657" id="Grafik_x0020_1" src="cid:image002.jpg@01D15DD9.EC4E83F0"></span><o:p></o:p></p>
</div>
</body>
</html>