Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.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.
However, this page did not exist in the previous stable version.

Ajuda do Scilab >> Biblioteca de Gráficos > xset

xset

ajusta valores para o contexto gráfico. Função obsoleta

Seqüência de Chamamento

xset(choice-name,x1,x2,x3,x4,x5)

Parâmetros

choice-name

string

x1,...,x5

dependem de choice-name

Descrição

Está função está obsoleta. Utilize a representação de objetos do Scilab ao invés (ver as documentações das funções set e get bem como a página graphics_entities).

xset é utilizado para ajustar valores padrões do contexto da janela de gráficos corrente.

xset("fpf",string)

ajusta o formato de exibição de ponto flutuante para funções de contorno. string é um string fornecendo o formato em sintaxe C (por exemplo string="%.3f"). Use string="" para retornar ao formato padrão.

Replacements

xset(..) returned nothing. Please take care appending a semi-colon after replacement instructions in order to cancel the display of their output.

// SCILAB 3 & 4                 SCILAB N>4
// ------------                 ----------
xset("default")                 clf("reset")

xset("wpos", [x y])             gcf().figure_position = [x y];
xset("wpdim", w, h)             gcf().figure_size = [w h];
xset("wdim", w, h)              gcf().figure_size = [w h];
xset("wresize", 0|1)  HS        gcf().auto_resize = "off"|"on";
xset("colormap", CM)            gcf().color_map = CM;
xset("figure", i)               scf(i);
xset("window", i)               scf(i);
xset("viewport", xp,yp)         gcf().viewport = [xp yp];

xset("auto clear","on"|"off")   gca().auto_clear = "on"|"off";
xset("line mode", 0|1)          gca().line_mode = "off"|"on";
xset("line style", n)           gca().line_style = n;
xset("dashes", n)               gca().line_style = n;
xset("thickness", n)            gca().thickness = n;
xset("font size", s)            gca().font_size = s;
xset("font", id, fsize)         set(gca(), "font_style", id, "font_size", fsize);
xset("mark size", msize)        set(gca(), "mark_size_unit", "tabulated", "mark_size", msize);
xset("mark", id, msize)         set(gca(), "mark_style", id, "mark_size_unit", "tabulated", "mark_size", msize);
xset("color", icol)             gca().foreground = icol;
xset("color", 0)                gca().foreground = -1;
xset("pattern", icol)           gca().foreground = icol;
xset("pattern", 0)              gca().foreground = -1;
xset("foreground", icol)        gca().foreground = icol;
xset("background", icol)        gca().background = icol;
xset("hidden3d", icol)          gca().hiddencolor = icol;

xset("clipping", rect)          set(gca(), "clip_box", rect, "clip_state", "on");
xset("clipgrf")                 gca().clip_state = "clipgrf";
xset("clipoff")                 gca().clip_state = "off";

xset("alufunction",i)           gcf().pixel_drawing_mode = str(i);
                                #i   str(i)
                                --   ------
                                0 => "clear"
                                1 => "and"
                                2 => "andReverse"
                                3 => "copy"
                                4 => "andInverted"
                                5 => "noop"
                                6 => "xor"
                                7 => "or"
                                8 => "nor"
                                9 => "equiv"
                                10 => "invert"
                                11 => "orReverse"
                                12 => "copyInverted"
                                13 => "orInverted"
                                14 => "nand"
                                15 => "set"

Ver Também

  • xget — retorna valores correntes do contexto gráfico. Esta função está obsoleta.
  • 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
  • gcf — Retorna o manipulador da janela GUI ou de gráficos corrente.
  • gdf — Retorna o manipulador da figura corrente
  • gca — Retorna o manipulador da entidade Axes corrente
  • gda — Retorna o manipulador dos eixos padrões.
  • ged — Editor Gráfico do Scilab
  • getcolor — abre um diálogo que exibe as cores no mapa de cores corrente

History

VersãoDescrição
5.0.1 The .alufunction property is obsolete. It is no longer taken into account for graphical renderings. It is replaced with gcf().pixel_drawing_mode.
5.4.0 The "alufunction" is no longer supported..
6.0.0 The only xset("fpf", format) syntax is now supported.
Report an issue
<< xsegs Biblioteca de Gráficos xsetech >>

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:
Tue Feb 14 15:09:46 CET 2017