Back to the main page.

Bug 2920 - ft_databrowser: error in custom datatip string function

Reported 2015-07-06 14:03:00 +0200
Modified 2019-08-10 12:32:54 +0200
Product: FieldTrip
Component: plotting
Version: unspecified
Hardware: PC
Operating System: Linux
Importance: P5 normal
Assigned to: Roemer van der Meij
Depends on:
Blocks: 2314
See also:

Maris - 2015-07-06 14:03:23 +0200

Maris - 2015-07-06 14:34:09 +0200

Created attachment 715 ft data structure for ft_databrowser an example data structure for ft_databrowser

Maris - 2015-07-06 14:34:56 +0200

Run this piece of code: cfg.viewmode = 'vertical'; ft_databrowser(cfg,data) --- When the figure opens, select 'Data cursor' tool in the toobar. Clicking anywhere in the plot gives "error in custom datatip string function". This makes it virtually impossible to identify channels, since the other possibilities aren't functional either: -(an already reported bug) "ft_databrowser: y-axis labels don't scale nicely with viewmode = 'vertical' -the interface button "identify" works only for the 'butterfly' mode.

Robert Oostenveld - 2015-07-06 16:37:58 +0200

Which MATLAB version on which operating system are you using?

Maris - 2015-07-06 16:47:17 +0200

(In reply to Robert Oostenveld from comment #3) I'm using MATLAB 2014b on the mentat cluster, so Linux.

Roemer van der Meij - 2016-05-11 22:40:21 +0200

I've looked at this, and it's a bit complicated to fix, and requires another callback (in the already too big browser). However, I recently enabled identify in viewmode = vertical (bug 2348) (and a label fix is on the way). So, setting this to 'won't fix' due to the above.

Robert Oostenveld - 2019-08-10 12:32:54 +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