Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.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 manual >> Graphics Library > 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")

参照

作者

J.Ph.C.

<< 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:
Wed Jan 26 16:25:13 CET 2011