<div dir="ltr">Dear Emilie,<div><br><div>Given a high a priori probability that the plotting function is okay, I would first check whether the data (sourceIntpl_Victim.pow?) is as expected, e.g. by checking if the dimensions are as expected, and plotting a single voxel over time using just MATLAB's plot function, or just looking at the numbers and checking if they change over time.</div></div><div><br></div><div>Cheers,</div><div>Stephen</div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 4 Feb 2022 at 09:07, Emilie Caspar <<a href="mailto:ecaspar@ulb.ac.be" target="_blank">ecaspar@ulb.ac.be</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>Dear Stephen, <div><br></div><div>Yes this is what I indicated, the data contains a .time structure, which range from -.2 to 1.2 ms.</div><div><br></div><div>Best, </div><div><br></div><div>Emilie</div><div><br></div><div><img id="gmail-m_-3514382179388953342gmail-m_-19008693899142190625D5A1BF3-7500-48D0-8DC1-0DE84A1322E5" width="779" height="180" src="cid:17ec3e6bd8cfee4c5c1"><br><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><div style="text-align:start;text-indent:0px"><p class="MsoNormal" style="margin-bottom:6pt"><span style="font-size:10pt;font-family:Helvetica;color:black">---------------------------------------------<br></span><b><span style="font-size:10pt;color:rgb(39,136,214)">Emilie CASPAR</span></b></p><p class="MsoNormal"><b><span style="font-size:9pt;font-family:Helvetica;color:black">Associate Professor<span> </span><u></u><u></u></span></b></p><p class="MsoNormal"><span lang="EN-US" style="font-size:9pt;font-family:Helvetica;color:black">Department of Experimental Psychology, Ghent University<br>office: Henri Dunantlaan, 2 - Floor 2, Room 94<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:9pt;font-family:Helvetica;color:black">lab’s website: </span><span style="font-size:9pt;font-family:Helvetica;color:black"><a href="https://moralsocialbrain.com/" target="_blank"><span lang="EN-US" style="color:blue">https://moralsocialbrain.com/</span></a></span><span lang="EN-US" style="font-size:9pt;font-family:Helvetica;color:black"> <br>personal website: </span><span style="font-size:9pt;font-family:Helvetica;color:black"><a href="https://emiliecaspar.home.blog/" target="_blank"><span lang="EN-US" style="color:blue">https://emiliecaspar.home.blog/</span></a></span><span lang="EN-US" style="font-size:9pt;font-family:Helvetica;color:black"><u></u><u></u></span></p><p class="MsoNormal" style="font-size:12px"></p><p class="MsoNormal"><span style="font-size:9pt;font-family:Helvetica;color:black">Université libre de Bruxelles (office & contact): DB10.138 / +32 2 650 32 95<u></u><u></u></span></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>
<br><div><blockquote type="cite"><div>Le 4 févr. 2022 à 07:54, Stephen Whitmarsh <<a href="mailto:stephen.whitmarsh@gmail.com" target="_blank">stephen.whitmarsh@gmail.com</a>> a écrit :</div><br><div><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" target="_blank">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>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><span id="gmail-m_-3514382179388953342gmail-m_-1900869389914219062cid:17ec3813be4e21087cb1"><-200to0.png></span><span id="gmail-m_-3514382179388953342gmail-m_-1900869389914219062cid:17ec3813be461b004852"><300to800.png></span></div><div><div>
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="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><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://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.science.ru.nl%2Fmailman%2Flistinfo%2Ffieldtrip&data=04%7C01%7Cemilie.caspar%40ulb.be%7Cda9f5725a60c421a67f608d9e7ab3eb8%7C30a5145e75bd4212bb028ff9c0ea4ae9%7C0%7C0%7C637795546059617740%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0&sdata=jsJF0f3ewg2xJqKUfJe6ldo2%2B9ea3wG7t5a%2FOB9Sjhs%3D&reserved=0" rel="noreferrer" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdoi.org%2F10.1371%2Fjournal.pcbi.1002202&data=04%7C01%7Cemilie.caspar%40ulb.be%7Cda9f5725a60c421a67f608d9e7ab3eb8%7C30a5145e75bd4212bb028ff9c0ea4ae9%7C0%7C0%7C637795546059617740%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0&sdata=ZrAX%2FBZp%2BOhBfv6lM5yrCsYMHIyVXYi5F8SZPK%2Bz0WY%3D&reserved=0" rel="noreferrer" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br>
</blockquote></div>
</div></blockquote></div><br></div></div></blockquote></div>