<< swap_handles handle Interactivité >>

Scilab Help >> Graphiques > handle > unglue

unglue

unglue a compound object and replace it by individual children.

Syntax

unglue(h)
H=unglue(h)

Arguments

h

a handle on an Compound.

H

a vector of handle on the resulting entities after unCompound.

Description

Given a handle on an Compound entity, this function destroys the Compound and unpacks the elementary entities to associated them to its parent. glue returns a vector of handles on these individual children.

Examples

a=gca();
t=0:9;
x=cos(t*%pi/5);
y=sin(t*%pi/5);
plot(x,y,'r-');
p = unglue(gce())
set(p,"closed","on");

See also


Report an issue
<< swap_handles handle Interactivité >>