sdf - Set default figure. (original) (raw)
Please note that the recommended version of Scilab is 2026.0.1. This page might be outdated.
See the recommended documentation of this function
Scilab help >> Graphics > figure_operations > sdf
Calling Sequence
sdf() f = gdf(); set(f,"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"); a=get("default_axes");
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) xset("window",i) plot2d(x,[sin(x) cos(x)],[i -i]) xclick(); if i == 4, sdf(); end end
See Also
- sda — Set default axes.
- gdf — Return handle of default figure.
- gda — Return handle of default axes.
- set — set a property value of a graphic entity object or of a User Interface object.
- graphics_entities — description of the graphics entities data structures
Authors
Djalel ABDEMOUCHE