<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Dear Katrin,<br>
    <br>
    I had the same problem. This is what worked for me:<br>
    <br>
    Apparently, at least in my case, the channel labels not showing up
    in the databrowser resulted<br>
    from are wrong specification of the fontsize in ft_databrowser.<br>
    <br>
    You have to locate the line that corresponds to your viewmode
    ('component' in my case, around line 1715)<br>
    and replace the<br>
    <br>
    'FontSize', 18 to a relative value, e.g 0.02, so that the call to
    plotting the text looks like this:<br>
    <br>
    ft_plot_text(labelx(laysel), labely(laysel),
    opt.hdr.label(chanindx(i)), 'tag', 'chanlabel',
    'HorizontalAlignment',
    'right','interpreter','none','FontUnits','normalized','FontSize',0.02,'FontName',
    'Arial');<br>
    <br>
    I am very unsure about wether this works for other MATLAB versions
    but you can give it a try.<br>
    Just make sure to make a backup of the ft_databrowser before you
    make any changes there.<br>
    <br>
    Best<br>
    <br>
    Philipp<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">Am 8/10/2014 3:18 PM, schrieb Alik
      Widge:<br>
    </div>
    <blockquote
cite="mid:CAGZVU0_0ZURx=PtVYoAfLx69xSjRUav5BnUL+sardX5BbpweXg@mail.gmail.com"
      type="cite">Not that I've heard, and it's still driving me a
      little bit nuts.
      <div>Guys, I know that this is because I don't use old MATLAB, but
        it is going towards the end of 2014. 2012b and older are really
        not available for a lot of us, especially since our university
        licenses often force us onto newer versions. Any chance of a
        fix?</div>
      <div><br>
      </div>
      <div>Alik<br>
        <br>
        On Sunday, August 10, 2014, KatrinH Heimann <<a
          moz-do-not-send="true" href="mailto:katrinheimann@gmail.com">katrinheimann@gmail.com</a>>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div dir="ltr">
            <pre style="color:rgb(0,0,0)">Dear all! I found the conversation quoted below among last years posts. I have the same problem than Alik, I never see any channel labels on the y axis, also not in the "some" option. Has this problem ever been solved?</pre>
            <pre style="color:rgb(0,0,0)">Best</pre>
            <pre style="color:rgb(0,0,0)">Katrin</pre>
            <pre style="color:rgb(0,0,0)">
</pre>
            <pre style="color:rgb(0,0,0)">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.

Cheers,
Roemer


On Fri, Sep 27, 2013 at 9:57 PM, Alik Widge <<a moz-do-not-send="true" href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">alik.widge at gmail.com</a>> wrote:

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


-- 
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: <a moz-do-not-send="true" href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">r.vandermeij at donders.ru.nl</a>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <<a moz-do-not-send="true" href="http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20130930/3593ea68/attachment.html" target="_blank">http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20130930/3593ea68/attachment.html</a>>
</pre>
            <div><br>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
      <br>
      -- <br>
      Sent from Gmail Mobile; apologies for the brevity<br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
fieldtrip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a>
<a class="moz-txt-link-freetext" href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></pre>
    </blockquote>
    <br>
  </body>
</html>