Home > reduc > plotting > setPlotDisplay.m

setPlotDisplay

PURPOSE ^

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

SYNOPSIS ^

function setPlotDisplay( flag)

DESCRIPTION ^

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

  function setPlotDisplay( flag)

   sjcm - tired of typing this out.  quick function to set whether plots
   will be visible or not.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function setPlotDisplay( flag)
0002 
0003 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0004 %
0005 %  function setPlotDisplay( flag)
0006 %
0007 %   sjcm - tired of typing this out.  quick function to set whether plots
0008 %   will be visible or not.
0009 %
0010 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0011 
0012 close all
0013 switch(flag)
0014   case 0
0015     figure('visible', 'off');
0016     
0017   case 1
0018     figure('visible', 'on');
0019 end
0020 
0021 return;

Generated on Sun 14-Jun-2015 17:12:45 by m2html © 2005