Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português - Русский

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

Scilab help >> 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])
xset("color",5)
xrect(-1,1,2,2)

参照

  • xfrect — 矩形を塗りつぶす
  • xrects — 一連の矩形を描画または塗りつぶす
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Oct 01 17:40:35 CEST 2012