Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.1 - Русский

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

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

Справка Scilab >> Графики > Datatips > datatipSetInterp

datatipSetInterp

Set the interpolation mode for datatip.

Syntax

datatipSetInterp(datatip_handle,interp_mode)

Arguments

datatip_handle

A handle of the tip.

interp_mode

A boolean, if false the tips can only be located at the mesh points, if true interpolation is made between mesh points. The default value is true.

Description

Set the interpolation mode for tip location.

Examples

x=linspace(0,1,8)';
y=x.^3;
clf()
plot(x,y);
e=gce();p=e.children(1);//get the handle on the polyline
p.mark_mode="on";p.mark_style=2;p.mark_size=5;
t=datatipCreate(p,[0.8,0.512]);
datatipSetInterp(t,%f);//now move the datatip

See also

  • datatips — Tool for placing and editing tips along the plotted curves.
  • datatipMove — Move a specified datatip using the mouse.
Report an issue
<< datatipSetDisplay Datatips datatipSetOrientation >>

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:
Mon Feb 12 20:08:39 CET 2018