<< graphics graphics datatipSetStruct >>
removed >> removed > 6-0 > graphics > datatipGetStruct

datatipGetStruct

Retrieve the datatips data structure from the polyline entity

Syntax

datatips_struct = datatipGetStruct(curve_handle)

Arguments

curve_handle

A handle on a polyline.

datatips_struct

A tlist of type datatips.

Description

datatipGetStruct extract the datatips data structure out of the polyline entity. It may be called to retrieve properties of the datatips data structure to customize the tip display.

Examples

x = linspace(0,1,100)';
y = x.^3;
clf
plot(x,y);
e = gce(); p = e.children(1); // get the handle on the polyline
datatipCreate(p,50);
datatipCreate(p,20);
datatips_struct = datatipGetStruct(p)
datatips_struct.display_function

See also

History

VersionDescription
5.5.0 Function tagged obsolete. Please use "datatips" property instead.
6.1.0 datatipGetStruct() is no longer available.

<< graphics graphics datatipSetStruct >>