<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Stanislav,<br>
<br>
Le 20/03/2013 13:55, Stanislav a écrit :<br>
</div>
<blockquote cite="mid:1363784132929-4026306.post@n3.nabble.com"
type="cite">
<pre wrap="">SEP_088_xrpoly.odt
<a class="moz-txt-link-rfc2396E" href="http://mailinglists.scilab.org/file/n4026306/SEP_088_xrpoly.odt"><http://mailinglists.scilab.org/file/n4026306/SEP_088_xrpoly.odt></a> </pre>
</blockquote>
This vectoriation is a good idea! I agree that implementing it in
the same function<br>
as for only one polygon is much preferable, w.r.t. coding a specific
xrpoly<b>s</b>()<br>
function as it has been done for most of other functions plotting
geometrical <br>
shapes : xrect > xrects, etc..<br>
<br>
Since a SEP is running, here are some ideas of other possible
developments<br>
for new features:<br>
- why not <b>vectorizing also n, r and theta</b>? (with default =
scalar)<br>
- <b>filling = filling_color</b> (optional): to fill the polygon(s)
with respective <br>
colors (vector of indices in the color_map). <br>
a color<0 means that the line (border) must not be plotted.<br>
- <b>symbol=[symbol_numbers, symbol_sizes]</b>: to put a symbol on
the angles <br>
(the same on all angles, but may be different from a polygon to
another one <br>
=> vectorized = mx2 matrix).<br>
- <b>isoview=%t</b> option, to force the targetted axes to be
isometric to show <br>
a truly regular polygonal (see the present mis-shaped sample in
help xrpoly)<br>
- <b>showAll=%t</b> option: => enlarge axes bounds up to the
external bounds of <br>
generated polygons<br>
- returning the <b>vector of created handles</b><br>
<br>
<tt>xrpoly([0.5 0.5], 12, 0.4, symbol=[14, 8],
filling=-color("cyan"), isoview=%t)</tt><tt><br>
</tt><tt>// would display (for a single polygon)</tt><tt><br>
</tt><br>
<img src="cid:part1.08030505.02000206@free.fr" alt=""><br>
<br>
Hoping reading you soon<br>
Samuel<br>
<br>
</body>
</html>