<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    Heinz,<br>
    <br>
    This example shows how to plot multiple graphs and rotate the plot:<br>
    <br>
    // Generate angles<br>
    x = (0:360)/180*%pi;<br>
    // Generate two directional patterns<br>
    y = 0.5*(1 + cos(x));<br>
    z = 0.5 + 0.5*(1 + cos(x));<br>
    // Just in case clear figure<br>
    clf<br>
    // Plot both patterns<br>
    polarplot(kron(1:2,x'),[y' z'], [1 2])<br>
    // Rotate 90° the polar plot<br>
    gca().rotation_angles = [0 180];<br>
    <br>
    The documentation for polarplot
    (<a class="moz-txt-link-freetext" href="https://help.scilab.org/docs/6.0.2/en_US/polarplot.html">https://help.scilab.org/docs/6.0.2/en_US/polarplot.html</a>) seems to
    be incomplete, since the description indicates that rho and theta
    are vectors of the same size, but it does not mention, except
    tacitly in example 2, that they can be also matrices of equal size,
    whose homologous columns are theta-rho pairs. The third argument
    refers to line style, and usually is 1:n where n is the number of
    columns (graphs).<br>
    <br>
    There is also a difference with plot, which allows that the first
    argument be either a single vector containing the x data for all the
    graphs, while the second argument may be a vector for a single graph
    or a matrix for several graphs sharing the same x data.<br>
    <br>
    The rotation statement uses the figure handle properties. gca()
    refers to the current axes, and gca().rotation_angles refers to the
    rotation property, which by default is [0 270]. [0 180] rotates it
    so that 0° is on the top.<br>
    <br>
    Finally, you can change the text in the peripheral scale, which by
    default indicates the angle values. For instance<br>
    <br>
    gca().children([23, 5, 11, 17]).text = ["N" "E" "S" "W"];<br>
    <br>
    changes the text properties of the children objects (these refer to
    the ticks and their labels) 23, 5, 11 and 17 from 0, 270, 180, 90 to
    the names of the cardinal directions.<br>
    <br>
    I don't know how to change easily the number and separation of
    angular ticks to allow NNE, NE and so on.<br>
    <br>
    Federico Miyara<br>
    <br>
    <br>
     <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 23/03/2019 13:17, Heinz Nabielek
      wrote:<br>
    </div>
    <blockquote cite="mid:55794E69-BD46-437C-86A7-70D38A079B1A@me.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div class="">Please help: I just cannot get the Scilab
        "polarplot" to graph a similar windrose as EXCEL is doing.
        Mainly as far as the orientation is concerned....</div>
      <div class="">Heinz</div>
      <div class=""><br class="">
      </div>
      <br>
      <div class=""><br class="">
      </div>
      <div class=""><br class="">
      </div>
      <div class=""><br class="">
      </div>
      <div class=""><br class="">
      </div>
      <div class=""><br class="">
      </div>
      <div class=""><br class="">
      </div>
    </blockquote>
    <br>
  <div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br /> <table style="border-top: 1px solid #D3D4DE;">
        <tr>
      <td style="width: 55px; padding-top: 18px;"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;" /></a></td>
                <td style="width: 470px; padding-top: 17px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Libre de virus. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank" style="color: #4453ea;">www.avast.com</a>           </td>
        </tr>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>