[Eeglablist] questions related to erpimage() function
Akshay Maggu
akshaymaggu86 at gmail.com
Mon Feb 13 23:42:05 PST 2017
> 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).
Yes, it determines the color scale.
I am able to fix this now. Had to do a 'caxis',[-5 5] after 'cbar'.
> However, It seems that I can't set the avewidth anything greater than '1'.
You may have a problem in either your data length or number of epochs. How
many epochs do you have now?
This was the case indeed. Though I had 1000 epochs, I was reading the
epochs one by one in a for loop as I wanted visuals of continuous update of
the erpimage plot. By doing so, each time 1 epoch was being handled in the
loop by the erpimage function and thus, it couldn't work with the avewidth
as 10. But, when I plotted using all data of 1000 epochs one-shot, the
script ran smooth with avewidth as 10. Thanks, Makoto, Tarik and others for
their comments.
On Tue, Feb 14, 2017 at 11:27 AM, Makoto Miyakoshi <mmiyakoshi at ucsd.edu>
wrote:
> Dear Akshay,
>
> > 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).
>
> Yes, it determines the color scale.
>
> > However, It seems that I can't set the avewidth anything greater than
> '1'.
>
> You may have a problem in either your data length or number of epochs. How
> many epochs do you have now?
>
> Makoto
>
>
>
>
> On Thu, Feb 9, 2017 at 8:36 AM, Akshay Maggu <akshaymaggu86 at gmail.com>
> wrote:
>
>> Hi all,
>> I have two questions related to erpimage() whose syntax goes something
>> like this: erpimage(data,RTs,[-400 256 256],'Test',1,1,...
>> 'erp','cbar','vert',-350);
>>
>> 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).
>>
>> 2. avewidth: which is similar to 'smoothing' of pop_erpimage() (?). I
>> would like to set a smoothing factor of 10.
>>
>> 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:
>> Error using movav (line 76)
>> data are too short
>>
>>
>> Thanks in advance,
>> Akshay
>>
>> --
>> Akshay Raj Maggu,
>> Laboratory for Language, Learning and the Brain,
>> Department of Linguistics and Modern Languages,
>> The Chinese University of Hong Kong,
>> Hong Kong.
>> Webpage: http://www.cuhk.edu.hk/lin/new/people/students/maggu/
>> *Save trees! Please don't print this email unless you really need to.....*
>>
>> _______________________________________________
>> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
>> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.uc
>> sd.edu
>> For digest mode, send an email with the subject "set digest mime" to
>> eeglablist-request at sccn.ucsd.edu
>>
>
>
>
> --
> Makoto Miyakoshi
> Swartz Center for Computational Neuroscience
> Institute for Neural Computation, University of California San Diego
>
--
Akshay Raj Maggu,
Laboratory for Language, Learning and the Brain,
Department of Linguistics and Modern Languages,
The Chinese University of Hong Kong,
Hong Kong.
Webpage: http://www.cuhk.edu.hk/lin/new/people/students/maggu/
*Save trees! Please don't print this email unless you really need to.....*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20170214/fdc7be24/attachment.html>
More information about the eeglablist
mailing list