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

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 > geometric_shapes > xrect

xrect

矩形を描画する

C呼び出し手順

xrect(x,y,w,h)
xrect(rect) // rect =[x,y,w,h]

パラメータ

x,y,w,h

矩形を定義する実数値.

説明

xrect は,ユーザ座標で[x,y,w,h] (左上の点, 幅, 高さ)により定義される矩形を描画します.

警告: 高さは下向きが正であることに注意してください.

plot2d(0,0,-1,"010"," ",[-2,-2,2,2])
xset("color",5)
xrect(-1,1,2,2)
xset("default")

参照

  • xfrect — 矩形を塗りつぶす
  • xrects — 一連の矩形を描画または塗りつぶす

作者

J.Ph.C.

<< xfrect geometric_shapes xrects >>

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:
Thu May 12 11:45:57 CEST 2011