<div dir="ltr">Hi<div><br></div><div>I have been using ft_singleplotTFR along with the 'outline' option to mask areas of the plot as given by an ft_freqstatistics output.  I started to notice that the outline didn't match up with what (by eyeball!) should be outlined.</div>
<div><br></div><div>So I checked the function by using ft_singleplotTFR </div><div><div>            cfg             = [];</div><div>            cfg.parameter   = 'mask';</div><div>            cfg.channel     = 'Cz';</div>
<div>            cfg.zlim   = [0 1];</div><div>            <br></div><div>            % masks<br></div><div>            cfg.maskparameter   = 'mask';</div><div>            cfg.maskstyle       = 'outline';</div>
<div><br></div><div>            cfg.renderer        = 'opengl';</div><div>            ft_singleplotTFR(cfg,td);<br></div></div><div><br></div><div>therefore I am plotting the mask data (zeros or ones) and also using that data as the outline parameter - so the outline should be EXACTLY around the RED area (ones), right?  This doesn't happen (screencap here: <a href="https://www.dropbox.com/s/3lnu4f63wq0zdg2/OutlineDemo.png">https://www.dropbox.com/s/3lnu4f63wq0zdg2/OutlineDemo.png</a>).</div>
<div><br></div><div>However, the 'opacity' and 'saturation' methods work fine, and perfectly bounds the mask area.  Has anyone else had this issue with 'outline', have any pointers, or alternatives that are easy to implement.</div>
<div><br></div><div>p.s., I've replicated this with all rendering options, on both Mac and Linux</div><div><br></div><div>Thanks for any help</div><div><br></div><div>Jim</div><div><br></div><div><br clear="all"><div>
<br></div>-- <br><div dir="ltr">







<p>Dr Jim Parkinson, D.Phil</p>
<p>Postdoctoral Research Fellow</p><p>Sackler Centre For Consciousness Science</p><p>School of Psychology</p><p>University of Sussex</p><p>Brighton</p><p>BN1 9QH</p>
<p><br></p>
<p><a href="mailto:jimparkinson@me.com" title="[GMCP] Compose a new mail to jimparkinson@me.com" rel="noreferrer" target="_blank">jimparkinson@me.com</a></p><p><a href="mailto:j.m.parkinson@sussex.ac.uk" title="[GMCP] Compose a new mail to j.m.parkinson@sussex.ac.uk" rel="noreferrer" target="_blank">j.m.parkinson@sussex.ac.uk</a></p>
</div>
</div></div>