Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.3 - English

Change language to:
Français - 日本語 - 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.

Scilab help >> Graphics > 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-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:
Wed Oct 05 12:10:00 CEST 2011