Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.0 - English

Change language to:
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 Help >> Graphics > handle > gce

gce

Get current entity handle.

Syntax

e = gce()

Arguments

e

handle, the handle of the current entity.

Description

This routine returns the handle of the last created (and still existent) entity.

Examples

a=gca() //get the handle of the newly created axes
a.data_bounds=[1,1;10,10];
a.axes_visible = 'on' ;
for i=1:5
  xfrect(7-i,9-i,3,3);
  e=gce();
  e.background=i;
end
delete(); // delete current entity
delete(gce()); // delete current entity
delete(gcf()); // delete current figure

See also

  • gcf — Return handle of current graphic window.
  • gca — Return handle of current axes.
  • get — Retrieve a property value from a graphics entity or an User Interface object.
  • graphics_entities — description of the graphics entities data structures
Report an issue
<< delete handle ged >>

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:
Tue Feb 14 15:02:51 CET 2017