Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Русский - 日本語
Ajuda do Scilab >> IGU > close

close

close a figure or a window

Arguments

h

integer Handle or window identification of the window to close.

Description

This routine close a tksci figure (toplevel window). If a handle (resp. window identification) is given, the figure (resp. window) corresponding to this handle (resp. window identification) is closed. Otherwise, the current (active) figure is closed.

Examples

h=figure();
// creates  figure number 1.  
uicontrol( h, 'style','text', ...
              'string','scilab is great', ...
              'position',[50 70 100 100], ...
              'fontsize',15);
// put a clever text in figure 1
figure();
// create figure 2
uicontrol( 'style','text', ...
           'string','Really great', 'position',[50 70 100 100], 'fontsize',15);
// put a text in figure 2
close();
// close the current graphic window (ie fig. 2)
close(h);
// close figure 1
wid1=progressionbar("Message");
// create a progression bar
close(wid1);
// close this window

See Also

  • figure — create a figure
  • gcf — Retorna o manipulador da janela GUI ou de gráficos corrente.
  • xdel — deleta uma janela de gráficos
  • delete — Deleta uma entidade gráfica e seus galhos
Scilab Enterprises
Copyright (c) 2011-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:34:44 CEST 2016