fn_eegplot

Contents

Syntax

hl = fn_eegplot([t,]data[,stepflag][,flag][,line properties...])

Description

Like Matlab function 'plot', but separates line by a distance 'ystep'
Input:
- t       vector - x-values
- data    2D or 3D array - y-values (if 3D, the spacing is done along the
          3rd dimension)
- usual plot arguments
- stepflag    the way 'ystep' is calculated:
  . x         use ystep = x
  . 'STD'     use ystep = mean(std(data))
  . 'xSTD'    use ystep = x*mean(std(data)) [default is 3*STD]
  . 'fit' 	use ystep = max(max(data)-min(data))
  . 'xfit'    use ystep = x * max(max(data)-min(data))
- flag    'num'   rescale the data so that y-axis values correspond to
                  data number
          'numtop'    same, and put the first data top instead of bottom
See also fn_gridplot

Source

Thomas Deneux

Copyright 2005-2017