Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.3 - 日本語

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

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

Scilab help >> Graphics > Datatips > datatipSetOrientation

datatipSetOrientation

指定した点に最も近いdatatipを探す.

呼び出し手順

datatipSetOrientation(tip_handle,orient)

パラメータ

tip_handle

datatipのハンドル.

orient

文字列で,以下の値を指定可能: "automatic" "upper left" "upper right", "lower left", "lower right".

説明

曲線上の点に相対的にテキストボックスの位置を設定します. "automatic"を向きに設定すると, プログラムはプロット境界内にテキストボックスを収めるように 選択を行ないます.

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")

参照

  • datatips — プロットされた曲線に情報(tips)を配置,編集するためのツール.
  • datatipCreate — プログラムによりポリラインのデータ情報を作成する
  • datatipRemove — 選択したdatatipを削除する

作者

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

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:
Wed Oct 05 12:12:58 CEST 2011