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

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 >> Графики > handle > glue

glue

glue a set of graphics entities into an Compound.

Syntax

glue(H)
h_agreg=glue(H)

Arguments

H

a vector of handle.

h_agreg

a handle, the handle on the Compound entity.

Description

Given a vector of handles, this function glue the corresponding entities in a single Compound and returns the handle on this new entity.

Examples

scf(1);
plot2d(0,0,-1,"010"," ",[-2,-2,2,2]);
xrect(-1,1,2,2);
xarc(-0.5,0.5,2,2,0,360*64);
a=gca();
r=a.children(1);
c=a.children(2);
nc=glue([r,c]);
// a.children(1) and nc now both correspond to the
// newly created compound object,
a.children(1)
// which is then translated.
move(nc,[-1,-0.5]);

See also

  • get — Retrieve a property value from a graphics entity or an User Interface object.
  • set — set properties of some graphic objects or uimenus or uicontrol interactive components
  • move — move, translate, a graphic entity and its children.
  • unglue — unglue a compound object and replace it by individual children.
  • graphics_entities — описание структур данных графических объектов
Report an issue
<< get_figure_handle handle is_handle_valid >>

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 25 08:54:58 CET 2020