<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
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="margin: 0px; font-size: 10px; font-family: Courier; ">GAshortwm = ft_timelockgrandaverage(cfg, avgs{:}); </div>
</div>
<div><br>
</div>
<div>
<div style="margin: 0px; font-size: 10px; font-family: Courier; ">cfg = [];                           </div>
<div style="margin: 0px; font-size: 10px; font-family: Courier; ">cfg.xlim = [-2 1];                </div>
<div style="margin: 0px; font-size: 10px; font-family: Courier; ">cfg.zlim = [-10 10];                </div>
<div style="margin: 0px; font-size: 10px; font-family: Courier; ">cfg.layout = <span style="color: #b245f3">
'biosemi64.lay'</span>; </div>
<div style="margin: 0px; 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>
</body>
</html>