Skip to content

hartley_plot_demo

  HARTLEY_PLOT_DEMO - plot receptive fields for several Hartley reconstructions 

  HARTLEY_PLOT_DEMO(S, EPOCH_ID, ELEMENTS, ...)


  Inputs: 
    S - an ndi.session object
    EPOCHID - an epochid to plot:w
    ELEMENTS - a cell array of ndi.element objects (type: spikes) to plot

  This function also takes name/value pairs that modify its default behavior:
  ---------------------------------------------------------------------------
  | Parameter (default)       | Description                                 |
  |---------------------------|---------------------------------------------|
  | latency_xy (0.025)        | Latency (in seconds) to show in the XY      |
  |                           |   panel.                                    |
  | Y_axis (1/2 of height)    | Y axis plotting location                    |
  | X_axis (1/2 of width)     | X axis plotting location                    |
  | axis_color ([1 1 0])      | Color to use to plot axis                   |
  | plot_individual_hartley(0)| Plot a separate figure with full XYT display|
  | write_files (0)           | Write files to current directory            |
  | site_map (1:N)            | Site map of electrode (1..numchannels)      |
  ---------------------------------------------------------------------------