Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.2 - Русский

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

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

Справка Scilab >> Графики > figure_operations > gdf

gdf

Return handle of default figure.

Syntax

f = gdf()
f = get("default_figure")

Arguments

f

handle, the handle of the default figure.

Description

The default figure is a graphic entity which is never drawn. It is used as a reference for the figure properties default values. These default properties values are used to initialize new figures.

The gdf function returns the handle on the default figure. The user can use this handle to set or get the figure properties default values.

Note that an equivalent default graphic entity exists for axes entities too (see gda).

Examples

f=gdf() // get the handle of the model figure
// setting its' properties
f.background=7;
f.figure_name="Function gdf()";
f.figure_position=[-1 100];
f.auto_resize="off";
f.figure_size=[300 461];
f.axes_size=[600 400];
plot2d() //create a figure
scf(1);
plot3d() //create a second figure
set(f,"default_values",1); // return to the  default values of figure's model
                           // see sdf() function
scf(2);
plot2d()

See also

  • gda — Return handle of default axes.
  • sdf — reSets the properties of the Default Figure to their factory values
  • sda — Set default axes.
  • gcf — Return handle of current graphic window.
  • get — Retrieve a property value from a graphics entity or an User Interface object.
  • scf — set the current graphic figure (window)
  • set — set a property value of a graphic entity object or of a User Interface object.
  • graphics_entities — описание структур данных графических объектов
Report an issue
<< gcf figure_operations pixel_drawing_mode >>

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:
Thu Feb 14 15:05:04 CET 2019