<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 26/02/2019 à 18:32, Izabela
      Wójcik-Grząba a écrit :<br>
    </div>
    <blockquote cite="mid:30750e0afe0c4aeba3f340c098aa3119@il.pw.edu.pl"
      type="cite">
      <blockquote type="cite">What do you mean by "frames"? made with
        uicontrol(), or with subplot()
        <br>
        (or xsetech())?
        <br>
      </blockquote>
      <br>
      They are made with uicontrol().
      <br>
      <br>
      <blockquote type="cite">The graphical effect of a uicontrol's
        callback remains after deleting
        <br>
        the uicontrol.
        <br>
      </blockquote>
      <br>
      Ok, it is good.
      <br>
      <br>
      <blockquote type="cite">If all uicontrol are set as direct
        children of the figure, deleting
        <br>
        all of them in a once could be done with something like
        <br>
        c = gcf().children;
        <br>
        delete(c(c.type=="uicontrol"))
        <br>
      </blockquote>
      <br>
      But in my case I would also delete my plot which is in one of the
      two frames.
      <br>
      The structure is like that:
      <br>
      Figure has two uicontrols Frame; first Frame has Axes (my plot,
      which I would like to export),second Frame has another uicontrol
      Frame which has 7 uicontrols Checkbox
      <br>
      I hope it's clear :-)
      <br>
    </blockquote>
    <br>
    As the exportation result, it is <i>too</i> <i>clear</i>,
    unfortunately.<br>
    <br>
    When exporting, you get a blank figure because the exportation
    removes all uicontrol.<br>
    Since your plot in on one of them (the frame), it is removed with
    its "substrate".<br>
    <br>
    I don't think it will be possible to save your plots on uicontrol
    frames with Scilab.<br>
    But you may use subplot() and/or xsetech() to set the layout of the
    figure.<br>
    Why are you using a uicontrol frame?<br>
    <br>
    <br>
  </body>
</html>