Back to the main page.

Bug 2283 - ft_connectivityplot needs a legend in case of multiple inputs

Status CLOSED FIXED
Reported 2013-09-13 11:47:00 +0200
Modified 2016-11-29 09:03:42 +0100
Product: FieldTrip
Component: plotting
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P3 enhancement
Assigned to: Jan-Mathijs Schoffelen
URL:
Tags:
Depends on:
Blocks:
See also:

Robert Oostenveld - 2013-09-13 11:47:51 +0200

http://fieldtrip.fcdonders.nl/tutorial/connectivityextended makes use of the function and computes coh and cohm. cfg = []; cfg.method = 'coh'; coh = ft_connectivityanalysis(cfg, freq); cohm = ft_connectivityanalysis(cfg, mfreq); Subsequently, the data can be visualized using ft_connectivityplot. cfg = []; cfg.parameter = 'cohspctrm'; cfg.zlim = [0 1]; ft_connectivityplot(cfg, coh, cohm); In the resulting figure it is not clear how they map on the blue and red lines (hint: blue=coh). The color and legend handling should be implemented in line with singleplotER/multiplotER.


Jan-Mathijs Schoffelen - 2013-10-10 10:57:48 +0200

Assigned to a named person, to push forward the resolution of this bug. Otherwise it just adds to the 'stuwmeer' of unassigned bugs, that nobody feels responsible for.


Jan-Mathijs Schoffelen - 2016-05-18 14:38:05 +0200

legend has been added with pull request 165 + some general cleaning and modernization of the function has been performed.