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

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

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

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

datatipSetOrientation

Search the nearest datatip of a given point.

Calling Sequence

datatipSetOrientation(tip_handle,orient)

Arguments

tip_handle

A handle on a datatip.

orient

A character string with possible values: "automatic" "upper left" "upper right", "lower left", "lower right".

Description

Set the position on the text box with respect to the curve point. With the "automatic" orientation the program makes the choice to keep the text box within the plot boundaries.

Examples

x=linspace(-20,20,1000);

clf()
plot(x,sinc(x),x,sinc(x^2));
e=gce();e=e.children
d1=datatipCreate(e(1),500);
d2=datatipCreate(e(2),200);
datatipSetOrientation(d2,"lower left")

See Also

  • datatips — Tool for placing and editing tips along the plotted curves.
  • datatipCreate — Create a data tip on a polyline by program
  • datatipRemove — Removes a selected datatip

Authors

  • Serge Steer, INRIA
<< datatipSetInterp Datatips datatipSetStruct >>

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:11:52 CEST 2011