Back to the main page.

Bug 427 - color labels of the lines don't display correctly when using multiplotER with multiple inputs

Status CLOSED FIXED
Reported 2011-01-25 23:23:00 +0100
Modified 2011-02-02 13:26:24 +0100
Product: FieldTrip
Component: plotting
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P1 normal
Assigned to: Jan-Mathijs Schoffelen
URL:
Tags:
Depends on:
Blocks:
See also:

Robert Oostenveld - 2011-01-25 23:23:58 +0100

see the COMNT in the attached screenshot. It can be reproduced by loading the attached mat file and then > ft_multiplotER(cfg, timelock{:})


Robert Oostenveld - 2011-01-25 23:24:43 +0100

Created attachment 19 here is the mat file with the test data


Robert Oostenveld - 2011-01-25 23:25:52 +0100

Created attachment 20 here is the screen shot


Jan-Mathijs Schoffelen - 2011-01-26 16:13:10 +0100

Created attachment 21 here is the screen shot after the fix I changed the way the comment is constructed. Initially it used the inpufile function, which however never works when operating on varargin{:}. Therefore I decided to name the input 'inputXX' and numbering the XX


Robert Oostenveld - 2011-01-26 20:00:41 +0100

the screen shot after the fix shows 10 inputs, whereas there are only 4 in the cell array. In case the inputs are specified as > ft_multiplotER(cfg, avgFIC, avgFC) then it would be nice to keep the actual variable names. In case of a cell-array input, that is not possible.


Jan-Mathijs Schoffelen - 2011-01-27 09:10:49 +0100

the variable timelock is by the way a 4x3 cell-array, so it gave twelve lines, rather than 10, and 4 was not a value to be expected


Jan-Mathijs Schoffelen - 2011-01-27 09:16:37 +0100

built in check to see whether inputname is empty. if not empty use the name of the variable, else use inputXX