Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - 日本語

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

Scilab help >> Graphics Library > handle > get_figure_handle


get a figure handle from its id

Calling Sequence

f = get_figure_handle(figure_id)



Integer, id of the figure to retrieve.


Handle of the corresponding figure.


get_figure_handle function allows to retrieve the handle of a graphic figure knowing its id. If a figure with the specified id exists the function returns it. Otherwise is returns an empty matrix.


// create some figures

// get handle on the figure with id 5
f5 = get_figure_handle(5);
// current figure remains the one with id 12
// get a non existing figure
f42 = get_figure_handle(42);

See Also

  • set — set a property value of a graphic entity object or of a User Interface object.
  • get — Retrieve a property value from a graphics entity or an User Interface object.
  • gcf — Return handle of current graphic window.
  • scf — set the current graphic figure (window)
  • graphics_entities — description of the graphics entities data structures


Jean-Baptiste Silvy INRIA

Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Mar 03 10:59:46 CET 2011