Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.2 - Português

Change language to:
English - Français - 日本語 -

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

Ajuda Scilab >> Biblioteca de Gráficos > Datatips > datatipGetStruct

datatipGetStruct

Extract the datatips data structure infrom the curve or surface entity.

Calling Sequence

datatips_struct=datatipGetStruct(curve_handle)

Arguments

curve_handle

A handle on a curve or surface.

datatips_struct

A tlist of type datatips.

Description

datatipGetStruct extract the datatips data structure out of the curve or surface 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 — Search the nearest datatip of a given point.
  • datatipInitStruct — initialize the datatip structure associated with the given polyline.

Authors

  • Serge Steer, INRIA
<< datatipGetEntities Datatips datatipInitStruct >>

Copyright (c) 2022-2023 (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:
Thu May 12 11:45:26 CEST 2011