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

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ヘルプ >> Graphics > geometric_shapes > xrect

xrect

矩形を描画する

呼び出し手順

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

xrect(-1,1,2,2)

gce().foreground = color("red");

参照

  • xfrect — 矩形を塗りつぶす
  • xrects — 一連の矩形を描画または塗りつぶす
Report an issue
<< xfrect geometric_shapes xrects >>

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:
Tue Feb 14 15:10:31 CET 2017