Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.0 - Português

Change language to:
English - Français - 日本語 -

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

Manual Scilab >> Biblioteca de Gráficos > figure_operations > gcf

gcf

Retorna o manipulador da janela GUI ou de gráficos corrente.

Seqüência de Chamamento

h = gcf()

Parâmetros

h

manipulador

Descrição

Esta função retorna o manipulador da janela gráfica corrente

Exemplos

f=gcf(); // criando uma figura
f.figure_size= [610,469]/2;
f.figure_name= "Foo";

f=figure(); // criando uma figura
h=uicontrol(f,"style","listbox","position", [10 10 150 160]); // criando um listbox
set(h, "string", "item 1|item 2|item3");// preenchendo a lista
set(h, "value", [1 3]); // selecionando os itens 1 e 3 na lista
gcf()

scf(0); // tornando a janela de gráficos 0 a figura corrente
gcf()  // obtendo o manipulador gráfico da figura corrente

figure(f) // tornando a janela GUI f a figura corrente
gcf() // retorna o manipulador gráfico da figura corrente

Autor

Serge Steer, INRIA

<< drawnow figure_operations gdf >>

Copyright (c) 2022-2023 (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:
Wed Jan 26 16:24:40 CET 2011