Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.4.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

Ajuda 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

Ver Também

  • gdf — Retorna o manipulador da figura corrente
  • gca — Retorna o manipulador da entidade Axes corrente
  • gce — Retorna o manipulador da entidade corrente
  • get — Recupera um valor de propriedade de uma entidade de gráficos ou um objeto Interface do Usuário.
  • scf — Ajusta a (janela) de figura gráfica corrente
  • set — Ajusta um valor de propriedade de uma objeto entidade gráfica ou de um objeto Interface do Usuário (User Interface)
  • graphics_entities — Descrição das estruturas de dados de entidades gráficas
  • uicontrol — create a Graphic User Interface object
Report an issue
<< 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:
Mon Oct 01 17:39:50 CEST 2012