<< CL_g_stdaxes Utilities CL_getEarthMap >>

CelestLab >> Utilities > CL_g_tag

CL_g_tag

Tags graphic entities

Calling Sequence

h = CL_g_tag(root,tag)

Description

Parameters

root:

Root of the hierarchy of graphic entities to be examined. Default = current axes (gca()).

tag:

(optional) Value to be used to tag the graphic entities. The value can be any value (and of any type) except '*'. Default is [] (user_data value not changed).

h:

Vector of the graphic entities that have been tagged.

Authors

See also

Examples

f=scf();
a=gca();
x = 0:0.1:5;
plot(x, x.^2);
CL_g_tag(a,1);
plot(x, x.^3, '-r');
CL_g_tag(a,2);
h = CL_g_select(a, "Polyline", 1);
h.thickness = 3;

Report an issue
<< CL_g_stdaxes Utilities CL_getEarthMap >>