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

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 > sdf

sdf

reSets the properties of the Default Figure to their factory values

Syntax

sdf()
set(gdf(),"default_values",1)

Arguments

f

handle, the handle of the default figure.

Description

This routine resets the figure's model to default values.

Examples

x=[0:0.1:2*%pi]';
f=get("default_figure"); // get the handle of the model figure
a=get("default_axes");   // get the handle of the model axes
                         // setting its' properties
f.background=4;
f.auto_resize="off";
f.figure_size=[400 300];
f.axes_size=[600 400];
f.figure_position=[0 -1];
a.x_location="top";
a.y_location="left";
for (i=1:6)
  scf(i); // create a figure with the identifier i
  plot2d(x,[sin(x) cos(x)],[i -i])
  xclick();
  if i == 4, sdf(); end // return to the  default values of the figure's model
end

See also

  • colordef — Set the color look-and-feel of a given or of all forthcoming graphic figures
  • gdf — Return handle of default figure.
  • scf — set the current graphic figure (window)
  • sda — reSets the Default Axes to its factory values
  • gda — Return handle of default axes.
  • set — set properties of some graphic objects or uimenus or uicontrol interactive components
  • graphics_entities — описание структур данных графических объектов
  • setlookandfeel — sets the current default look and feel.
Report an issue
<< scf figure_operations show_window >>

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:
Mon Jan 03 14:39:57 CET 2022