Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.4.1 - English

Change language to:
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 help >> Graphics > geometric_shapes > xfarcs

xfarcs

Fill parts of a set of ellipses

Calling Sequence

xfarcs(arcs,[style])

Arguments

arcs

matrix of size (6,n) describing the ellipses.

style

row vector of size n giving the colors to use.

Description

xarcs fills parts of a set of ellipses described by arcs: arcs=[x y w h a1 a2;x y w h a1 a2;...]' where each ellipse is defined by the 6 parameters (x,y,w,h,a1,a2) (see xfarc).

x, y, w, h parameters are specified in user coordinates.

style(i) gives the color number for filling ellipse number i.

If a2 is equal to 360*64, a complete circle will be drawn.

Examples

plot2d(0,0,-1,"031"," ",[-1,-1,1,1])
arcs=[-1.0 0.0 0.5; // upper left x
       1.0 0.0 0.5; // upper left y
       0.5 1.0 0.5; // width
       0.5 0.5 1.0; // height
       0.0 0.0 0.0; // angle 1
       180*64 360*64 90*64]; // angle 2
xfarcs(arcs,[1,2,3])

See Also

  • xarc — draw a part of an ellipse
  • xfarc — Fill a part of an ellipse
  • xfarc — Fill a part of an ellipse
Report an issue
<< xfarc geometric_shapes xfrect >>

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 Apr 02 17:36:23 CEST 2013