Scilab 6.0.1
      
      - Scilabヘルプ
 - Graphics
 - 2d_plot
 - 3d_plot
 - annotation
 - axes_operations
 - axis
 - bar_histogram
 - Color management
 - Datatips
 - figure_operations
 - geometric_shapes
 - handle
 - interaction
 - lighting
 - load_save
 - polygon
 - property
 - text
 - transform
 - Compound_properties
 - GlobalProperty
 - Graphics: Getting started
 - graphics_entities
 - object_editor
 - pie
 - xchange
 - xget
 - xgetech
 - xset
 
Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
xchange
実座標をピクセル座標に変換する
呼び出し手順
[x1, y1, rect] = xchange(x, y, dir)
引数
- x,y
 大きさ
(n1, n2)(点の集合の座標)の行列.- dir
 変換の種類を指定するパラメータ (詳細は "説明" 参照)
- x1,y1
 t大きさ
(n1, n2)(点の集合の座標)の行列.- rect
 大きさ 4のベクトル.
説明
xchangeは,
            グラフィック関数を使用した後,
            パラメータdirの値に基づき,
            実座標からピクセル座標への変換またはその逆変換を計算します:
            "f2i"(float to int) は実座標からピクセルを意味し,
            "i2f" (int to float)
            はピクセルから実座標を意味します.
x1 および y1は,
            古い座標 x と yにより
            定義される一連の点の新しい座標です.
rect  は,
            プロットが行われる矩形のピクセル単位の座標です:
            [左上の点, 幅, 高さ].
| Report an issue | ||
| << pie | Graphics | xget >> |