<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font face="Times New Roman,sans-serif" size="3" style="font-size:12pt;" color="#000000"><br id="FontBreak"></font><font face="Times New Roman,sans-serif" color="black" style="background-color: rgb(255, 255, 255);">Hello,</font><span style="color: rgb(68, 68, 68); font-family: Calibri; line-height: 22.7199993133545px; background-color: rgb(255, 255, 255);"></span><div style="line-height: 22.7199993133545px; color: rgb(68, 68, 68); font-family: Calibri; background-color: rgb(255, 255, 255);"><font face="Times New Roman,sans-serif" color="black" style="line-height: normal;"><br style="line-height: 22.7199993133545px;"></font></div><div style="line-height: 22.7199993133545px; color: rgb(68, 68, 68); font-family: Calibri; background-color: rgb(255, 255, 255);"><font face="Times New Roman,sans-serif" color="black" style="line-height: normal;">If the number of  channels of  your data and layout are not the same, there will be error. The alphabetical case is very important, like sometime your data label may be FCZ while the layout is FCz, you need to check that. Meanwhile, to avoid any error, the best option is to design your own layout base on your data as explained in detail in this tutorial </font></div><div style="line-height: 22.7199993133545px; color: rgb(68, 68, 68); font-family: Calibri; background-color: rgb(255, 255, 255);"><br style="line-height: 22.7199993133545px;"><a href="http://fieldtrip.fcdonders.nl/tutorial/layout" target="_blank" style="line-height: 22.7199993133545px; font-weight: inherit; color: rgb(0, 104, 207); cursor: pointer;">http://fieldtrip.fcdonders.nl/tutorial/layout</a></div><div style="line-height: 22.7199993133545px; color: rgb(68, 68, 68); font-family: Calibri; background-color: rgb(255, 255, 255);"><br style="line-height: 22.7199993133545px;"></div><div style="line-height: 22.7199993133545px; color: rgb(68, 68, 68); font-family: Calibri; background-color: rgb(255, 255, 255);">Good luck!</div><br><div><br></div>Azeez A. Adebimpe<br><br><br><div><font face="Times New Roman"><i>"Knowledge and good manner, the beauty of a man"</i></font></div><br><br><div><hr id="stopSpelling">From: e.caspar@ucl.ac.uk<br>To: fieldtrip@science.ru.nl<br>Date: Sun, 26 Oct 2014 08:34:11 +0000<br>Subject: [FieldTrip] topoplot - no match between data and layout<br><br>




Dear Fieldtripers, 
<div><br>
</div>
<div>I am trying to represent my data on a topoplotER.  I have averaged all my data with the label "GAshortwm":</div>
<div><br>
</div>
<div>
<div style="font-size:10px;font-family:Courier;">GAshortwm = ft_timelockgrandaverage(cfg, avgs{:}); </div>
</div>
<div><br>
</div>
<div>
<div style="font-size:10px;font-family:Courier;">cfg = [];                           </div>
<div style="font-size:10px;font-family:Courier;">cfg.xlim = [-2 1];                </div>
<div style="font-size:10px;font-family:Courier;">cfg.zlim = [-10 10];                </div>
<div style="font-size:10px;font-family:Courier;">cfg.layout = <span style="color:#b245f3;">
'biosemi64.lay'</span>; </div>
<div style="font-size:10px;font-family:Courier;">ft_topoplotER(cfg,GAshortwm); colorbar;</div>
<div><br>
</div>
</div>
<div>However, I have a recurrent mistake which is  only present with this type of plot, not with other plots like single plot:</div>
<div><br>
</div>
<div>
<div><font color="#e32400">Error using topoplot_common (line 561)</font></div>
<div><font color="#e32400">labels in data and labels in layout do not match</font></div>
<div><font color="#e32400"><br>
</font></div>
<div><font color="#e32400">Error in ft_topoplotER (line 169)</font></div>
<div><font color="#e32400">cfg = topoplot_common(cfg, varargin{:});</font></div>
</div>
<div><br>
</div>
<div>I'm sure of the layout I'm using (biosemi 64), and I already checked that this layout is detected within my script. Consequently, I don't understand why there is no match between my data and the layout. I though it was because name of the labels are from
 1 to 66 in data files, but it's probably not the reason because it works very well with single plot.</div>
<div><br>
</div>
<div>Does anyone have an idea?</div>
<div><br>
</div>
<div>Thank you!</div>
<div><br>
</div>
<div>Emilie</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>


<br>_______________________________________________
fieldtrip mailing list
fieldtrip@donders.ru.nl
http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</div>                                       </div></body>
</html>