Back to the main page.

Bug 256 - ft_clusterplot cannot plot TFR clusters

Reported 2010-12-01 16:28:00 +0100
Modified 2019-08-10 12:37:06 +0200
Product: FieldTrip
Component: plotting
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P1 enhancement
Assigned to: Roemer van der Meij
Depends on:
See also:

Roemer van der Meij - 2010-12-01 16:28:20 +0100

At the moment, clusterplot can only plot TFR clusters if there is no longer a frequency dimension in the data, as it only knows how to plot over different timepoints. It does so by subplotting each timepoint in one window, until 15 plots are made, which is when it switches to a new figure window. Ideally, subplots should only be used for e.g. timepoints, and figure windows for different frequencies.

Roemer van der Meij - 2012-08-03 14:35:09 +0200

Apart from not being able to plot over frequencies, the use of cfg.xlim is not allowed. So, plotting output from timelock_statistics, which usually has many time-points, will cause an explosion of (sub)figures to be plotted (see somewhat related bug 1472). Ideally one should be able to specify a cfg.xlim and cfg.ylim to specify freqs and time-points to be plotted (e.g. time-points as subplots, freqs as figure windows). The easiest would be to give it clusterplot an overhaul and start roughly from scratch. I wonder though, whether it is worthwhile to invest in this. I haven't heard from many folks around me that they use ft_clusterplot, let's discuss at the ft-meeting.

Robert Oostenveld - 2018-04-30 10:48:26 +0200

As this is such an old item - and it being unclear whether someone cares enough about it to spend time on it - I propose to close this. Please reopen if you disagree.

Robert Oostenveld - 2019-08-10 12:37:06 +0200

This closes a whole series of bugs that have been resolved (either FIXED/WONTFIX/INVALID) for quite some time. If you disagree, please file a new issue on