<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">30.03.2013 08:14, Samuel Gougeon пишет:<br>
    </div>
    <blockquote cite="mid:51564A8D.7010606@free.fr" type="cite">
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      <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 moz-do-not-send="true" 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>
    </blockquote>
    I didn't know about such division and I don't understand why it has
    been done. If I want to plot n rectangles what  function should I
    use? xrects? Even if n = 1?<br>
    <blockquote cite="mid:51564A8D.7010606@free.fr" type="cite"> 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>
    </blockquote>
    It is a good idea and it is very simple to implement.<br>
    <blockquote cite="mid:51564A8D.7010606@free.fr" type="cite"> - <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>
    </blockquote>
    I am not sure that it is a good idea. This function use the axes
    scale and I am not sure that user want to have isometric axes.
    Besides, backward compatibility can be damaged. But it can be done
    in separate function. And in one year somebody will ask: "I am
    newbie and I didn't know about such division and I don't understand
    why it has been done." <span class="moz-smiley-s1"><span> :-) </span></span><br>
    <blockquote cite="mid:51564A8D.7010606@free.fr" type="cite"> - <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>
    </blockquote>
    I don't understand what "returning the <b>vector of created handles</b>"
    is for?<br>
    <blockquote cite="mid:51564A8D.7010606@free.fr" type="cite"> <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:part2.09070006.00050500@gmail.com" alt=""><br>
      <br>
      Hoping reading you soon<br>
      Samuel<br>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dev@lists.scilab.org">dev@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/dev">http://lists.scilab.org/mailman/listinfo/dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>