Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.1 - English

Change language to:
Français - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2024.1.0. This page might be outdated.
See the recommended documentation of this function

Scilab Help >> GUI > close


closes graphic figures, progressionbars or waitbars





Handle or vector of handles of graphic figures or progression bar or wait bar. These different types of handles can be mixed in H.

By default, the current graphic figure is considered.


Graphic windows based on the Tk technology (such as still used by imshow() in the SIVP external module) may be closed as well by providing their number that is their handle.


// creates  figure number 1.
h = scf();
// put a clever text in figure 1
uicontrol( h, 'style','text', ...
              'string','scilab is great', ...
              'position',[50 70 100 100], ...
// create figure 2
// put a text in figure 2
uicontrol( 'style','text', ...
           'string','Really great', 'position',[50 70 100 100], 'fontsize',15);

close();   // close the current graphic window (ie fig. 2)
close(h);  // close figure 1

// create a progression bar
// close it

See also

  • xdel — delete a graphics window
  • delete — delete a graphic entity and its children.
  • figure — create a figure
  • scf — set the current graphic figure (window)
  • gcf — Return handle of current graphic window.
Report an issue
<< clipboard GUI Console properties >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Feb 12 19:26:51 CET 2018