<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<div id="divtagdefaultwrapper" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, "EmojiFont", "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi Hame,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">This is not official fieldtrip code, but I wrote a little tutorial for combining multiple masks that might be helpful to you.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">You can find it <a href="http://www.tomrmarshall.com/tools-code-data/" class="OWAAutoLink" id="LPlnk140883" previewremoved="true">
here</a>.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
Best,</div>
<div style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, "EmojiFont", "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" dir="ltr">
Tom<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> fieldtrip <fieldtrip-bounces@science.ru.nl> on behalf of Hame Park <hame.hame.hame@gmail.com><br>
<b>Sent:</b> 04 September 2018 11:15<br>
<b>To:</b> FieldTrip discussion list<br>
<b>Subject:</b> [FieldTrip] Combining ROI mask and functional mask in ft_sourceplot not working</font>
<div> </div>
</div>
<meta content="text/html; charset=utf-8">
<div>
<div dir="ltr">
<div class="x_gmail_extra">Hello,</div>
<div class="x_gmail_extra">I want to use two masks; </div>
<div class="x_gmail_extra">one from based on my data</div>
<div class="x_gmail_extra">and one based on the atlas.</div>
<div class="x_gmail_extra"><br>
</div>
<div class="x_gmail_extra">when set separately, it works fine.</div>
<div class="x_gmail_extra">However, when I use them both, the ROI mask does not apply.</div>
<div class="x_gmail_extra"><br>
</div>
<div class="x_gmail_extra">I looked into the code and it seems (to me) the mask is indeed combined at one point, </div>
<div class="x_gmail_extra">but it is not applied in the final stage.. </div>
<div class="x_gmail_extra"><br>
</div>
<div class="x_gmail_extra">Any advice, comments would be much appreciated!</div>
<div class="x_gmail_extra"><br>
</div>
<div class="x_gmail_extra">Thank you.</div>
<div class="x_gmail_extra">Best wishes,</div>
<div class="x_gmail_extra">Hame</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>