Hi
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.
So I checked the function by using ft_singleplotTFR
cfg = [];
cfg.parameter = 'mask';
cfg.channel = 'Cz';
cfg.zlim = [0 1];
% masks
cfg.maskparameter = 'mask';
cfg.maskstyle = 'outline';
cfg.renderer = 'opengl';
ft_singleplotTFR(cfg,td);
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:
https://www.dropbox.com/s/3lnu4f63wq0zdg2/OutlineDemo.png).
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.
p.s., I've replicated this with all rendering options, on both Mac and Linux
Thanks for any help
Jim
--
Dr Jim Parkinson, D.Phil
Postdoctoral Research Fellow
Sackler Centre For Consciousness Science
School of Psychology
University of Sussex
Brighton
BN1 9QH
jimparkinson at me.comj.m.parkinson at sussex.ac.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20140626/45805cff/attachment-0001.html>