<div dir="ltr"><div class="gmail_default" style="color:#333399">Hello Akshay, Not sure if this will help, but it should get you past your current block...Best wishes.</div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">for erpimage, one should first take a close look, and try, the various flags possible in the function.</div><div class="gmail_default" style="color:#333399">Type "open erpimage" or "doc erpimage" or google erpimage to get the info and then give those a try.</div><div class="gmail_default" style="color:#333399">Some flags may be depreciated, and if so, a note in the eeglab bugzilla is appreciated, if you can replicate the problem.</div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">I would recommend using eegh to get the command line verson of the pop_erpimage with "smoothing",</div><div class="gmail_default" style="color:#333399">and then work with changing those flags as needed in the command line. </div><div class="gmail_default" style="color:#333399">One solution could be: run pop_erpimage instead, ad add in flags for erpimage into the pop_erprimage command.</div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">for cbar, try plotting the image first, and then adjusting the colorbar using matlab commands for modifying the colorbar, which you can easily google search.</div><div class="gmail_default" style="color:#333399">for example, search "change color bar limits matlab"</div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 9, 2017 at 11:36 AM, Akshay Maggu <span dir="ltr"><<a href="mailto:akshaymaggu86@gmail.com" target="_blank">akshaymaggu86@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div>I have two questions related to erpimage() whose syntax goes something like this: erpimage(data,RTs,[-400 256 256],'Test',1,1,...</div><div>                             'erp','cbar','vert',-350);</div><div><br></div><div>1. cbar: How to define the high-low limits of 'cbar'? Could I set these limits arbitrarily? For example, say, I want to look at +/-5 uV range irrespective of presence of higher amplitude peaks (say 10 uV). </div><div><br></div><div>2. avewidth: which is similar to 'smoothing' of pop_erpimage() (?). I would like to set a smoothing factor of 10. </div><div><br></div><div>However, It seems that I can't set the avewidth anything greater than '1'.  The following error pops up saying that data are too short:</div><div><span style="color:rgb(255,0,0)">Error using movav (line 76)</span><br></div><div><font color="#ff0000">data are too short</font></div><div><br></div><div><br></div><div>Thanks in advance, <span class="m_149922364420249189HOEnZb"><font color="#888888"><br></font></span></div><span class="m_149922364420249189HOEnZb"><font color="#888888"><div>Akshay</div><div><div><div><br></div>-- <br><div class="m_149922364420249189m_5659901725827944078gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr">Akshay Raj Maggu, <div><span style="font-size:12.8px">Laboratory for Language, Learning and the Brain,</span><br></div><div>Department of Linguistics and Modern Languages, </div><div>The Chinese University of Hong Kong, </div><div>Hong Kong.</div><div>Webpage: <a href="http://www.cuhk.edu.hk/lin/new/people/students/maggu/" target="_blank">http://www.cuhk.edu.h<wbr>k/lin/new/people/students/magg<wbr>u/</a></div><div><i>Save trees! Please don't print this email unless you really need to.....</i></div></div></div></div></div></div></div></div>
</div></div></font></span></div>
<br>______________________________<wbr>_________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" target="_blank">http://sccn.ucsd.edu/eeglab/ee<wbr>glabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.uc<wbr>sd.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.e<wbr>du</a><br></blockquote></div><br></div></div>