<div dir="ltr">Hi Emilie,<div><br></div><div>I would first check if the data structure has a time dimension to begin with. </div><div><br></div><div>Best,</div><div>Stephen</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 3 Feb 2022 at 19:44, Emilie Caspar via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl">fieldtrip@science.ru.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Dear fieldrippers, <div><br></div><div>I am using ft_sourceplot to plot the results of my interpolated data. The data contains a .time, which range from -.2 to 1.2 ms</div><div><br></div><div>I would like to plot only some specific segments, such as .3 to .8. However, whatever I indicate in the cfg.latency, the plots do not change at all (see two pictures attached), probably suggesting that the cfg.latency is somehow not taken into account.</div><div><br></div><div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Courier">cfg               = [];</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Courier;color:rgb(37,153,45)">cfg.method         = <span style="color:rgb(178,69,243)">'ortho'</span>;</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Courier">cfg.atlas = atlas;</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Courier">cfg.funparameter  = <span style="color:rgb(178,69,243)">'pow'</span>;</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Courier">cfg.inputcoord = <span style="color:rgb(178,69,243)">'mni'</span>;</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Courier">cfg.maskparameter = cfg.funparameter;</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Courier">cfg.funcolormap = <span style="color:rgb(178,69,243)">'jet'</span>;</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Courier;color:rgb(37,153,45)">% cfg.projmethod     = 'nearest';</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Courier">cfg.funcolorlim    = [0 0.2];</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Courier">cfg.opacitylim    = [0.1 0.2];</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Courier;color:rgb(37,153,45)">%  cfg.opacitymap    = 'rampup';</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Courier">cfg.latency       = [0.3 0.8];</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Courier">cfg.avgovertime   = <span style="color:rgb(178,69,243)">'yes'</span>;</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Courier">ft_sourceplot(cfg,sourceIntpl_Victim);</div></div><div style="margin:0px;font-size:12px;line-height:normal;font-family:Courier;min-height:14px"><br></div><div>Would someone have an idea about the problem?</div><div><br></div><div>Thank you in advance!</div><div><br></div><div>Emilie</div><div><br></div><div><img id="gmail-m_-26567836943497438871B360559-4874-40CC-9C3B-C1B20363C1FE" width="529" height="410" src="cid:17ec3813be4e21087cb1"><img id="gmail-m_-265678369434974388738DD95DE-327F-4C2E-BD93-DC66D8A280C3" width="557" height="418" src="cid:17ec3813be461b004852"></div><div><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="text-align:start;text-indent:0px"><div style="text-align:start;text-indent:0px"><div style="text-align:start;text-indent:0px"><div style="text-align:start;text-indent:0px"><div style="text-align:start;text-indent:0px"><div style="overflow-wrap: break-word;"><div style="text-align:start;text-indent:0px"><p class="MsoNormal" style="margin-bottom:6pt"><br></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<a href="https://doi.org/10.1371/journal.pcbi.1002202" rel="noreferrer" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br>
</blockquote></div>