[Eeglablist] Defining lo/hi limits for topoplots

Scott Makeig smakeig at gmail.com
Sun Mar 6 12:46:32 PST 2011


Likely your |data values| are << 3. Check min(range) and max(range)...

On Fri, Mar 4, 2011 at 9:38 PM, Stephen Politzer-Ahles <
politzerahless at gmail.com> wrote:

> Hello everyone,
>
> I am a new EEGLAB user and am trying to make topoplots of multiple effects
> and time windows to compare within the same figure; I would like to set the
> same min/max scale values for all the topoplots. I have tried using input
> like ('maplimits',[-3 3]) within the call to topoplot(), but while that
> creates topoplots that seem to have the right scale (e.g. -3uv to 3uv), the
> plots themselves are just one plain color (that is to say, the whole plot is
> 0) even though there should be visible effects. Could anyone show me an
> example of how to define the maplimits in the topoplot() function? Any help
> would be greatly appreciated.
>
> Here is the code I am trying to run:
>
> figure;
>
> [signal, variance, chan_names, pnts, rate, xmin, xmax] =
> loadavg('trig4-trig5.avg');
> locations = readlocs('32chan_new.loc' );
> range = mean(signal(:,350:500 ),2);
> subplot(2,3,1),topoplot(range,locations,'plotrad',.51,'conv','off','electrodes','off','maplimits',[-2
> 2]); title('150-300 ms')
> range = mean(signal(:,500:700 ),2);
> subplot(2,3,2),topoplot(range,locations,'plotrad',.51,'conv','off','electrodes','off','maplimits',[-2
> 2]); title('300-500 ms')
> range = mean(signal(:,800:1100 ),2);
> subplot(2,3,3),topoplot(range,locations,'plotrad',.51,'conv','off','electrodes','off','maplimits',[-2
> 2]); title('600-900 ms')
>
> [signal, variance, chan_names, pnts, rate, xmin, xmax] =
> loadavg('trig6-trig7.avg');
> locations = readlocs('32chan_new.loc' );
> range = mean(signal(:,350:500 ),2);
> subplot(2,3,4),topoplot(range,locations,'plotrad',.51,'conv','off','electrodes','off','maplimits',[-2
> 2]); title('150-300 ms')
> range = mean(signal(:,500:700 ),2);
> subplot(2,3,5),topoplot(range,locations,'plotrad',.51,'conv','off','electrodes','off','maplimits',[-2
> 2]); title('300-500 ms')
> range = mean(signal(:,800:1100 ),2);
> subplot(2,3,6),topoplot(range,locations,'plotrad',.51,'conv','off','electrodes','off','maplimits',[-2
> 2]); title('600-900 ms')
>
> Thank you,
> Steve Politzer-Ahles
>
>
> --
> Stephen Politzer-Ahles
> University of Kansas
> Linguistics Department
> http://www.linguistics.ku.edu/
>
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to
> eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu
>



-- 
Scott Makeig, Research Scientist and Director, Swartz Center for
Computational Neuroscience, Institute for Neural Computation & Adj. Prof. of
Neurosciences, University of California San Diego, La Jolla CA 92093-0559,
http://sccn.ucsd.edu/~scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20110306/512ecb55/attachment.html>


More information about the eeglablist mailing list