Scilab 5.5.0

Please note that the recommended version of Scilab is 6.1.1. This page might be outdated.

See the recommended documentation of this function

# xpoly

draw a polyline or a polygon

### Calling Sequence

xpoly(xv,yv [,dtype [,close]])

### Arguments

- xv,yv
matrices of the same size (points of the polyline).

- dtype
string (drawing style). default value is "lines".

- close
integer. If close=1, the polyline is closed; default value is 0.

### Description

`xpoly`

draws a single polyline described by the vectors of
coordinates `xv`

and `yv`

. If `xv`

and
`yv`

are matrices they are considered as vectors by
concatenating their columns. `dtype`

can be
`"lines"`

for using the current line style or
`"marks"`

for using the current mark to draw the polyline.

### Examples

### See Also

- xfpoly — fill a polygon
- xfpolys — fill a set of polygons
- xpolys — draw a set of polylines or polygons
- polyline_properties — description of the Polyline entity properties

## Comments

Add a comment:Please login to comment this page.