Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.4.1 - Français

Change language to:
English - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Aide Scilab >> Graphiques > Datatips > datatipGetStruct

datatipGetStruct

Retreive the datatips data structure from the polyline entity.

Calling Sequence

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 retreive 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.formatfunction

See Also

  • datatips — Tool for placing and editing tips along the plotted curves.
  • datatipSetDisplay — Set the function used to compute the datatip string.
  • datatipInitStruct — Initialize the datatip structure associated with the given polyline.
Report an issue
<< datatipGetEntities Datatips datatipInitStruct >>

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 Apr 02 17:36:47 CEST 2013