Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
scf
set the current graphic figure (window)
Syntax
f = scf() f = scf(h) f = scf(num)
Arguments
- h
a handle, the figure handle
- num
a number, the figure_id
- f
the handle of the current figure
Description
The current figure is the destination of the graphic drawing. The
scf
function allows to change this current figure or to
create it if it does not already exist.
scf(num)
set the figure with figure_id==num
as the current figure. If it does not already exist it is created.
scf(h)
set the figure pointed to by the handle
h
as the current figure. If it does not already exist it is
created.
scf()
is equivalent to scf(max(winsid())+1)
.
It may be used to create a new graphic window.
Examples
See also
- set — set properties of some graphic objects or uimenus or uicontrol interactive components
- get — Retrieve a property value from a graphics entity or an User Interface object.
- gcf — Return handle of current graphic window.
- clf — Clears and resets a figure or a frame uicontrol
- winsid — return the list of graphics windows
- graphics_entities — description of the graphics entities data structures
Report an issue | ||
<< pixel_drawing_mode | figure_operations | sdf >> |