<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr">Dear Rouzbeh,</div><div dir="ltr">I think ft_selectdata is the function you are looking for. In particular, cfg.frequency, cfg.latency and cfg.channel are configuration options you might find useful.</div><div dir="ltr">Good luck</div><div dir="ltr">Tzvetan </div><div dir="ltr"><br><blockquote type="cite">Am 24.07.2020 um 21:08 schrieb Rouzbeh Zamyadi <rouzbeh.zamyadi@sickkids.ca>:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr">

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">



<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Hello,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
I wanted to know if there is a way to extract the data that is being plotted using the ft_singleplotTFR.m function; as in the final matrix generated to be plotted. I understand I can do this by formatting the time frequency data structure powspctrm field myself
 but was wondering if there is a quick way of doing this (or maybe there is a variable inside one of the functions that I can use as output?) that ideally doesn't involve modifying the fieldtrip functions (at least not much).</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
I would also like to do the same thing for the topoplots (specifically ft_topoplotTFR which calls other sub functions to generate the plot) if possible.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Thanks for your help,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Rouzbeh</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
This e-mail may contain confidential, personal and/or health information(information which may be subject to legal restrictions on use, retention and/or disclosure) for the sole use of the intended recipient. Any review or distribution by anyone other than
 the person for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and delete all copies.<br>
</font>


<span>_______________________________________________</span><br><span>fieldtrip mailing list</span><br><span>https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</span><br><span>https://doi.org/10.1371/journal.pcbi.1002202</span><br></div></blockquote></body></html>