Home > Objects > @iData > getframe.m

iFit/getframe

PURPOSE ^

frame = getframe(s, dim, options) : create an iData object thumbnail/frame matrix

SYNOPSIS ^

function frame = getframe(a, dim, options)

DESCRIPTION ^

 frame = getframe(s, dim, options) : create an iData object thumbnail/frame matrix

   @iData/getframe function to create iData frames/thumbnails.
   Such thumbnails may be used to create icons on GUIs
   Note: a figure will flicker on screen.

 input:  s:   object or array (iData)
         dim: dimension of the thumbnail. When specified, the frame has no labels, ticks, ...
              to serve as a thumbnail
         options: specific plot options, default is 'axis tight'

 output: frame: frame/thumbnail
 ex:     f=getframe(a); image(f.cdata);

 Version: Aug. 22, 2017
 See also iData, iData/plot, getframe, image, imwrite

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 22-Aug-2017 11:03:30 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1