fn_framedisplay

Contents

Description

[im/ha =] function fn_framedisplay([x,[y,...]]data[,clip][,'singleaxes|multaxes'] ...
      [['ncol',]ncol][,'in',hf|ha][,'display'][,'normalaxis'][,'nocolor'])
Input (except for data, order of inputs can be changed):
- x,y     x and y range
- data    3D or 4D data; NOT using Matlab image convention (i.e. first
          dim is x and second dim is y)
          if the third dimension is of length 3, it is assumed to
          represent color; to avoid this assumption to take place, place
          the additional flag 'nocolor' in the argument list
- clip    clipping range or 'fit'
- axflag  'singleaxes' will create a large image by putting each frame
          next to each other and display this image
          'multaxes' will display each frame in a separate axes
          If axflag is not specified, 'multaxes' will be used iff the
          number of frames is small.
- ncol    specify the number of columns to use; the 'ncol' flag is not
          necessary
- hf|ha   handle of figure or axes (implicit'singleaxes' option)
          for figure handle, it is necessary to precede it by the 'in'
          flag (otherwise the argument is ambiguous with ncol), for axes
          handle, this is not necessary
- 'display'    by default, nothing is displayed if an output is requested,
          this option is used to display even if there is an output
- 'normalaxis' do not set the axes aspect ratio
- 'nocolor'    explicitely tell the function not to try to detect a color
          channel
Output:
- im      a large image obtained by concatenating all images, note that
          compared to the large image created with the 'singleaxes'
          option, this image is slighlty larger since there is a 1-pixel
          wide separation between all frames
- ha      if axflax is 'multaxes', the output is the set of axes handles

Source

Thomas Deneux

Copyright 2011-2017