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

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 Library > polygon > xfpoly

xfpoly

ポリゴンを塗りつぶす

呼び出し手順

xfpoly(xv,yv,[close])

パラメータ

xv,yv

同じ大きさのベクトル (ポリゴンの点).

close

整数. close=1の場合, ポリゴンは閉じられます; デフォルト値は 0です.

説明

xfpoly はポリゴンを指定した色で塗りつぶします. close が1の場合, 1つの点がポリゴンを定義するポリライン xv,yvに追加されます.

x=sin(2*%pi*(0:4)/5);
y=cos(2*%pi*(0:4)/5);
plot2d(0,0,-1,"010"," ",[-2,-2,2,2])
xset("color",5)
xfpoly(x,y)

// グラフィックのみ
e=gce(); // カレントのエンティティ(直近に作成: ここではポリライン)を取得
e.fill_mode='off';
e.closed = 'off' //ポリラインはここではオープン
  
xset("default")

参照

  • xfpolys — 一連のポリゴンを塗りつぶす
  • xpoly — ポリラインまたはポリゴンを描画する
  • xpolys — 一連のポリラインまたはポリゴンを描画します.

作者

J.Ph.C.

<< polyline_properties polygon xfpolys >>

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 Mar 03 11:00:59 CET 2011