<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Le 02/03/2017 à 22:44, Erhy a écrit :<br>
    </div>
    <blockquote cite="mid:1488491048135-4035674.post@n3.nabble.com"
      type="cite">
      <pre wrap="">I'm a step forward.
Only the colors of the labels and of the X-axis should to be adapted.</pre>
    </blockquote>
    <br>
    You get the handle of the parent axes. If it is the current axes,
    just do:<br>
    ax = gca();<br>
    Then the property for the X label is:<br>
    ax.x_label.font_foreground = color("red");<br>
    <a class="moz-txt-link-freetext" href="https://help.scilab.org/docs/6.0.0/en_US/axes_properties.html">https://help.scilab.org/docs/6.0.0/en_US/axes_properties.html</a><br>
    <a class="moz-txt-link-freetext" href="https://help.scilab.org/docs/6.0.0/en_US/color.html">https://help.scilab.org/docs/6.0.0/en_US/color.html</a><br>
    <br>
    What do you mean by "the X-axis" ?<br>
    If you try to change the color <b>only of </b>-- say -- the x
    ticks, leaving y ticks unchanged, this is not possible, unless
    overlaying a fake identical axes or axis and playing with both.<br>
    <br>
    If you try to have colored labels only for the x axis: same answer.
    This can also be performed by setting by hand colored LaTeXed
    labels. But in this case (manual setting), labels and related ticks
    will become fixed : they will no longer be recalculated while
    resizing the figure (unless implementing a dedicated
    gcf().resizefcn=".." callback (see help figure_properties)). <br>
    <br>
    HTH<br>
    Samuel<br>
    <br>
  </body>
</html>