Home > ISET > gui > vcSelectFigure.m

vcSelectFigure

PURPOSE ^

Open an ISET window and return a figure number

SYNOPSIS ^

function figNum = vcSelectFigure(objType,noNewWin)

DESCRIPTION ^

 Open an ISET window and return a figure number 

   figNum = vcSelectFigure(objType,noNewWin)

 Purpose:
   If the ISET figure is already open, the existing figure number is returned.  If
   the ISET window is not opened, then the function that opens the window
   is called and the new figure number is returned.

   You can suppress opening a window  by setting noNewWin = 1. In that case, if
   no window exists figNum will be returned empty and no window will be opened.

 Example:
  figNum = vcSelectFigure('GRAPHWIN');
  figNum = vcSelectFigure('scene',1);
  figNum = vcSelectFigure('scene');
  figNum = vcSelectFigure('oi');
  figure(vcSelectFigure('ISA'));

 Copyright ImagEval Consultants, LLC, 2005.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 20-Nov-2008 22:09:04 by m2html © 2003