[FieldTrip] cfg.plotlabels and ft_databrowser

Roemer van der Meij r.vandermeij at donders.ru.nl
Mon Sep 30 16:15:39 CEST 2013

Hi Alik,

Using cfg.plotlabels = 'some', only plots several of the channel labels.
Leaving it empty, or setting it to 'yes', will show all labels, is that
what you intended?

Additionally, right now we cannot guarantee compatibility with matlab
R2012b onwards due to low level changes in several MathWorks functions.
Please use a version older dan R2013a.


On Fri, Sep 27, 2013 at 9:57 PM, Alik Widge <alik.widge at gmail.com> wrote:

> I have pounded on this one from a few different angles and even gone and
> looked at the source, and still can't quite figure out what I'm doing wrong.
> I have a datafile from an eXimia TMS-EEG system. Right now, all I'm trying
> to do is load it up and inspect the data a bit to get a sense of how badly
> artifacted it is. So:
> %%%%%%
> cfg = [];
> cfg.blocksize = 30;         % num of seconds to display at once
> cfg.continuous = 'yes';     % not yet cut into trials
> cfg.plotlabels = 'some';
> cfg.viewmode = 'vertical';
> cfg.colorgroups = 'chantype';
> cfg.dataset = [DataDir filesep EEGFile];
> cfg.channel = {'EEG'};
> ft_databrowser(cfg)
> %%%%%%
> This does 90% of what it ought to do -- it shows me the EEG channels (no
> triggers or EOG), 30 second segments at a time. What it does *not* do is
> label the channels along the y-axis so that I can readily tell which one is
> Pz, F3, O1, etc., etc. I am pretty sure that's what cfg.plotlabels is
> supposed to do, and yet, it does not. I've also tried doing this as
> ft_databrowser(cfg,data), where I explicitly make sure that data.label
> contains the correct channel names, and that *still* doesn't work.
> I'm aware that this was marked as a bug before, but bugzilla shows it
> closed long ago, before r7276 that I'm using I believe.
> MATLAB r2013a on OS X, if it matters.
> Am I simply misunderstanding what this cfg argument does or how to use it?
> Alik Widge, MD, PhD
> alik.widge at gmail.com
> (206) 866-5435
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip

Roemer van der Meij M.Sc.
PhD Candidate
Donders Institute for Brain, Cognition and Behaviour
Centre for Cognition
P.O. Box 9104
6500 HE Nijmegen
The Netherlands
Tel: +31(0)24 3655932
E-mail: r.vandermeij at donders.ru.nl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20130930/3593ea68/attachment-0002.html>

More information about the fieldtrip mailing list