Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - 日本語 - Русский

Please note that the recommended version of Scilab is 6.0.1. This page might be outdated.
See the recommended documentation of this function

Ajuda Scilab >> Biblioteca de Gráficos > 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.
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Oct 01 17:39:51 CEST 2012