<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Le 19/07/2018 à 21:30, Samuel Gougeon a
      écrit :<br>
    </div>
    <blockquote cite="mid:95937912-7e6e-fc7d-245e-267a38ddad27@free.fr"
      type="cite">Le 18/07/2018 à 15:19, Izabela Wójcik-Grząba a écrit :
      <br>
      <blockquote type="cite">Hello,
        <br>
        <br>
        I am looking for an elegant and simple way to manage with
        changing properties of polylines in a param3d1 plot. The problem
        is that sometimes (in case of specific data) there is only one
        polyline to draw but in most cases there are many polylines. By
        now I solved this problem by using "if" statement like below:
        <br>
        <br>
        param3d1(X,Y,Z);
        <br>
        <br>
        if size(X,'c')==1 then
        <br>
            gce().polyline_style=4;
        <br>
            gce().thickness=2;
        <br>
            gce().foreground=32;
        <br>
        else
        <br>
            gce().children.polyline_style=4;
        <br>
            gce().children.thickness=2;
        <br>
            gce().children.foreground=32;
        <br>
        end
        <br>
      </blockquote>
      <br>
      You are right: it would be preferable to get always the same
      graphical structure, whatever is the number of plotted curves, as
      it is the case with plot2d():
      <br>
      <br>
      --> plot2d(1:10)
      <br>
      --> gce()
      <br>
       ans  =
      <br>
      <br>
      Handle of type "Compound" with properties:
      <br>
      ==========================================
      <br>
      parent: Axes
      <br>
      children: "Polyline"
      <br>
      visible = "on"
      <br>
      user_data = []
      <br>
      tag = ""
      <br>
      <br>
      --> clf, plot2d([1:10 ; 1:10]')
      <br>
      --> gce()
      <br>
       ans  =
      <br>
      Handle of type "Compound" with properties:
      <br>
      ==========================================
      <br>
      parent: Axes
      <br>
      children: ["Polyline";"Polyline"]
      <br>
      visible = "on"
      <br>
      user_data = []
      <br>
      tag = ""
      <br>
      <br>
      So, the same stable architecture shall be reached for param3d1().
      <br>
      Such a change won't be back-compatible, but searching for
      "param3d1" in all existing programs and updating them will be
      easy.
      <br>
      This change can be proposed for Scilab 6.1.
      <br>
    </blockquote>
    <br>
    This bug about param3d1() unstable hierarchy is now reported <a
      href="http://bugzilla.scilab.org/show_bug.cgi?id=15671">there</a>.<br>
    <br>
  </body>
</html>