<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Jörn,<div>yes, that totally fixes it! I just did not find that in the tutorial I used: <a href="http://fieldtrip.fcdonders.nl/tutorial/eventrelatedstatistics">http://fieldtrip.fcdonders.nl/tutorial/eventrelatedstatistics</a></div><div>Thanks a lot for the help,</div><div>Marieke</div><div><br><div><div>On Oct 24, 2011, at 4:20 , Jörn M. Horschig wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
  
    <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hey Marieke,<br>
    <br>
    I just checked your workspace, and realized that in your cfg there
    is no field parameter. Maybe something went wrong or you made a typo
    somewhere. Just setting cfg.parameter='prob' solved the problem for
    me and ft_clusterplot works nicely (nice cluster, btw). <br>
    <br>
    <i><small>the call to "ft_clusterplot" took 20 seconds and an
        estimated NaN MB<br>
        >> cfg<br>
        <br>
        cfg = <br>
        <br>
                alpha: 0.1000<br>
                 elec: [1x1 struct]<br>
                 zlim: [-2 2]<br>
            parameter: 'prob'</small></i><br>
    <br>
    <br>
    Best,<br>
    Jörn<br>
    <br>
    <br>
    <br>
    <br>
    On 10/24/2011 11:35 AM, Marieke van Vugt wrote:
    <blockquote cite="mid:2B510BFE-967F-47C2-A920-AA78590FF0DA@rug.nl" type="cite">Hi everyone,
      <div>I am trying to use ft_clusterplot after having done
        ft_timelockstatistics. I get the following error:</div>
      <div>
        <div>>>cfg = [];</div>
        <div>>>cfg.alpha = 0.1;</div>
        <div>>>cfg.parameter = 'prob';</div>
        <div>>>cfg.elec = timelockLow.elec;</div>
      </div>
      <div><br>
      </div>
      <div>
        <div>>> ft_clusterplot(cfg,stat);     </div>
        <div>creating layout from cfg.elec</div>
        <div>creating layout for ext1020 system</div>
        <div>There are 1 clusters smaller than alpha (0.1)</div>
        <div>Positive cluster: 1, pvalue: 0.065 (+), t = 0.712 to 0.836</div>
        <div><b>??? Reference to non-existent field 'parameter'.</b></div>
        <div><br>
        </div>
        <div>Error in ==> ft_topoplotER at 610</div>
        <div>dat    = data.(cfg.parameter);</div>
        <div><br>
        </div>
        <div>Error in ==> ft_clusterplot at 339</div>
        <div>          ft_topoplotER(cfgtopo, stat);</div>
        <div> </div>
        <div>610 dat    = data.(cfg.parameter);</div>
        <div>K>> dbquit</div>
      </div>
      <div><br>
      </div>
      <div>In general the stat output looks fine.</div>
      <div>You can find the 'stat' and 'cfg' variables that I use in my
        dropbox: <a moz-do-not-send="true" href="http://dl.dropbox.com/u/13997261/clusterProblem.mat">http://dl.dropbox.com/u/13997261/clusterProblem.mat</a></div>
      <br>
      <div>Does anyone know what's going on here? I could not figure out
        what the field 'parameter' should be and why it was not existing
        in the first place.</div>
      <div>Thanks a lot in advance for your help,</div>
      <div>Marieke</div>
      <div>
        
            <div style="word-wrap: break-word; -webkit-nbsp-mode: space;
              -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
                <div style="word-wrap: break-word; -webkit-nbsp-mode:
                  space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
                    <div style="word-wrap: break-word;
                      -webkit-nbsp-mode: space; -webkit-line-break:
                      after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
                        <div style="word-wrap: break-word;
                          -webkit-nbsp-mode: space; -webkit-line-break:
                          after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
                            <div style="word-wrap: break-word;
                              -webkit-nbsp-mode: space;
                              -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
                                <div style="word-wrap: break-word;
                                  -webkit-nbsp-mode: space;
                                  -webkit-line-break: after-white-space;
                                  "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
                                    <div style="word-wrap: break-word;
                                      -webkit-nbsp-mode: space;
                                      -webkit-line-break:
                                      after-white-space; ">
                                      <div>
                                        <div style="margin-top: 0px;
                                          margin-right: 0px;
                                          margin-bottom: 0px;
                                          margin-left: 0px; font: normal
                                          normal normal 12px/normal
                                          Helvetica; ">----------------------------------------------------------------------------</div>
                                        <div style="margin-top: 0px;
                                          margin-right: 0px;
                                          margin-bottom: 0px;
                                          margin-left: 0px; font: normal
                                          normal normal 12px/normal
                                          Helvetica; ">Marieke van Vugt,
                                          PhD</div>
                                        <div style="margin-top: 0px;
                                          margin-right: 0px;
                                          margin-bottom: 0px;
                                          margin-left: 0px; font: normal
                                          normal normal 12px/normal
                                          Helvetica; ">Assistant
                                          Professor, Cognitive Modeling
                                          Group</div>
                                        <div style="margin-top: 0px;
                                          margin-right: 0px;
                                          margin-bottom: 0px;
                                          margin-left: 0px; font: normal
                                          normal normal 12px/normal
                                          Helvetica; ">Bernoulliborg,
                                          room 326</div>
                                        <div style="margin-top: 0px;
                                          margin-right: 0px;
                                          margin-bottom: 0px;
                                          margin-left: 0px; font: normal
                                          normal normal 12px/normal
                                          Helvetica; ">Nijenborgh 9</div>
                                        <div style="margin-top: 0px;
                                          margin-right: 0px;
                                          margin-bottom: 0px;
                                          margin-left: 0px; font: normal
                                          normal normal 12px/normal
                                          Helvetica; ">9747 AG Groningen</div>
                                        <div style="margin-top: 0px;
                                          margin-right: 0px;
                                          margin-bottom: 0px;
                                          margin-left: 0px; font: normal
                                          normal normal 12px/normal
                                          Helvetica; ">The Netherlands</div>
                                        <div style="margin-top: 0px;
                                          margin-right: 0px;
                                          margin-bottom: 0px;
                                          margin-left: 0px; font: normal
                                          normal normal 12px/normal
                                          Helvetica; ">
                                          <div>phone: +31-6-51954984
                                            (cell)</div>
                                          <div>            
                                             +31-50-363-9487 (office)</div>
                                        </div>
                                        <div style="margin-top: 0px;
                                          margin-right: 0px;
                                          margin-bottom: 0px;
                                          margin-left: 0px; font: normal
                                          normal normal 12px/normal
                                          Helvetica; "><a moz-do-not-send="true" href="http://www.ai.rug.nl/%7Emkvanvugt">http://www.ai.rug.nl/~mkvanvugt</a></div>
                                        <div style="margin-top: 0px;
                                          margin-right: 0px;
                                          margin-bottom: 0px;
                                          margin-left: 0px; font: normal
                                          normal normal 12px/normal
                                          Helvetica; "><a moz-do-not-send="true" href="mailto:m.k.van.vugt@rug.nl">m.k.van.vugt@rug.nl</a></div>
                                      </div>
                                      <div><br>
                                      </div>
                                      <div><br>
                                      </div>
                                    </div>
                                  </span><br class="Apple-interchange-newline">
                                </div>
                              </span><br class="Apple-interchange-newline">
                            </div>
                          </span><br class="Apple-interchange-newline">
                        </div>
                      </span><br class="Apple-interchange-newline">
                    </div>
                  </span><br class="Apple-interchange-newline">
                </div>
              </span><br class="Apple-interchange-newline">
            </div>
          <br class="Apple-interchange-newline">
        <br class="Apple-interchange-newline">
      </div>
      <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>
    <br>
    <pre class="moz-signature" cols="72">-- 
Jörn M. Horschig
PhD Student
Donders Institute for Brain, Cognition and Behaviour 
Centre for Cognitive Neuroimaging
Radboud University Nijmegen 
Neuronal Oscillations Group

P.O. Box 9101
NL-6500 HB Nijmegen
The Netherlands

Contact:
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:jm.horschig@donders.ru.nl">jm.horschig@donders.ru.nl</a>
Tel:    +31-(0)24-36-68493
Web: <a class="moz-txt-link-freetext" href="http://www.ru.nl/donders">http://www.ru.nl/donders</a>

Visiting address:
Trigon, room 2.30
Kapittelweg 29
NL-6525 EN Nijmegen
The Netherlands</pre>
  </div>

_______________________________________________<br>fieldtrip mailing list<br><a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">----------------------------------------------------------------------------</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">Marieke van Vugt, PhD</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">Assistant Professor, Cognitive Modeling Group</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">Bernoulliborg, room 326</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">Nijenborgh 9</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">9747 AG Groningen</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">The Netherlands</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><div>phone: +31-6-51954984 (cell)</div><div>              +31-50-363-9487 (office)</div></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><a href="http://www.ai.rug.nl/~mkvanvugt">http://www.ai.rug.nl/~mkvanvugt</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><a href="mailto:m.k.van.vugt@rug.nl">m.k.van.vugt@rug.nl</a></div></div><div><br></div><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>