fn_gridplot

Contents

Syntax

hl = fn_gridplot([t,]data[,flag][,steps][,'num']

Description

                  [,'callback',fun][,'colors',colors][,'offset',offset]
                  [,usual plot options])
---
Input:
- y       ND data
- flag    string made of keywords '-', 'row', 'col', 'grid' and 'c'
          describe how dimensions (starting from the 2d one, the 1st one
          being time) will be treated
          'c' stands for color
          [e.g. default is 'rowcol-c': 2d dimension will be organized
          according to rows, 3rd to columns, 4th will not be organized
          (i.e. all traces superimposed, but will set the colors)]
- steps   [xstep ystep], {xstep ystep}, or ystep (see fn_eegplot)
- 'num', 'top', 'numtop'     indicate numbers ('numtop': order from top to
           bottom instead of bottom to top)
- fun     function to execute when clicking a line
          fun(idx) has one argument indicating the coordinates of the
          line being clicked (starting from dimension 2)
- colors  re-define the list of colors
- offset  vector of time indices to average for offset computation, or
          'all' (or 'avg') for using all indices
          or a cell array {idx, dim} where dim is the set of additional
          dimensions over which to average (i.e. will share the same mean
          value)
See also fn_eegplot

Source

Thomas Deneux

Copyright 2015-2017