[FieldTrip] Possible bug with 'outline' option in ft_singleplotTFR

Eelke Spaak eelke.spaak at donders.ru.nl
Mon Jun 30 09:09:15 CEST 2014


Hi Jim,

That indeed sounds like a possible bug. I have filed it on our
bugzilla: http://bugzilla.fcdonders.nl/show_bug.cgi?id=2627 I tried to
add you as CC on the bug, but it seems to have failed. Please register
an account there and add yourself as CC to keep up to date on the bug.

Thanks for letting us know.

Best,
Eelke

On 26 June 2014 15:12, Jim Parkinson <jimparkinson at me.com> wrote:
> 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.com
>
> j.m.parkinson at sussex.ac.uk
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip



More information about the fieldtrip mailing list