<< xfrect geometric_shapes xrects >>

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

xrect(-1,1,2,2)

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

参照


Report an issue
<< xfrect geometric_shapes xrects >>