<div dir="ltr">Dear Min,<div><br></div><div>I'm not completely sure about how it does not work, but it looks possible that EEGLAB does not take datalength==1 data due to its own sanity check processes. That said, you can still do it if you go without using GUI. After loading your data, run these two lines</div>

<div><br></div><div>EEG.data = (your ch*1 spectra data);</div><div><span style="font-family:arial,sans-serif;font-size:14.285714149475098px">topoplot(data, EEG.chanlocs, 'electrodes', 'on', 'emarker', {'.','k',14,1});</span><br>

</div><div><br></div><div>it should work... could you try it?</div><div><br></div><div>Makoto</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/7/22 Min Sheng <span dir="ltr"><<a href="mailto:Min.Sheng@utsouthwestern.edu" target="_blank">Min.Sheng@utsouthwestern.edu</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thank you. But I encountered another problem when I imported data into EEGLAB, I don’t know why every time I load my matlab array(channelx1) , eeglab shows
 that the cannels per frame 1, and frames per epoch 31.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">It seems that EEGLAB takes the shorter column or row as the channel information.<u></u><u></u></span></p>


<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><img width="444" height="390" src="cid:image001.png@01CE86E1.42BE3B90"></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Makoto Miyakoshi [mailto:<a href="mailto:mmiyakoshi@ucsd.edu" target="_blank">mmiyakoshi@ucsd.edu</a>]
<br>
<b>Sent:</b> Friday, July 19, 2013 7:21 PM<br>
<b>To:</b> Min Sheng<br>
<b>Cc:</b> <a href="mailto:eeglablist@sccn.ucsd.edu" target="_blank">eeglablist@sccn.ucsd.edu</a><br>
<b>Subject:</b> Re: [Eeglablist] using EEG power data to plot topograhpic maps<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Dear Min,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">You can generate arbitrary topoplot using the function below.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">topoplot(data, EEG.chanlocs, 'electrodes', 'on', 'emarker', {'.','k',14,1});<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">data should be a column vector (i.e. channel x 1). EEG.chanlocs is necessary, so I suggest you first launch EEGLAB and load your data before you run this line. 14 is the size of black dot; make it less if you want smaller dots.<u></u><u></u></p>


</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Makoto<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">2013/7/19 Min Sheng <<a href="mailto:Min.Sheng@utsouthwestern.edu" target="_blank">Min.Sheng@utsouthwestern.edu</a>><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Hi All,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I am new to EEGLAB and would like to ask smb's assistance with importing of EEG data into EEGLAB and plot topographic maps.<u></u><u></u></p>
<p class="MsoNormal">My data is already preprocessed and saved in .mat files as 1 array for power of 31 channels(power, channel). I import this data to eeglab, but it always shows there is only one
 channel and 31 epochs,  I was trying to change the matrix to 31x1(channel, power), but it did not help.  I could not find the answer in help how to use the frequency power to plot topographic map.<u></u><u></u></p>
<p class="MsoNormal">Please help. Thanks a lot.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Min<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:blue"><br>
UT Southwestern Medical Center<br>
The future of medicine, today.</span><u></u><u></u></p>
</div>
<p class="MsoNormal"><br>
_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">
http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">
eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">
eeglablist-request@sccn.ucsd.edu</a><u></u><u></u></p>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<p class="MsoNormal">Makoto Miyakoshi<br>
Swartz Center for Computational Neuroscience<br>
Institute for Neural Computation, University of California San Diego<u></u><u></u></p>
</div>
</div>
</div></div></div>
</div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div>


</div>