<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Le 19/11/2016 10:55, Jens Simon Strom a
      écrit :<br>
    </div>
    <blockquote cite="mid:5830219B.5010700@hslmg.de" type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      Thanks Rafael,<br>
      <br>
      The three files are not pink (which is great) but do not show what
      I want. I want to have superposed plots, i.e.<br>
      test1.jpg should show one line (namely <font size="2"
        color="black" face="Calibri"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">(<span
            class="SpellE">x,1</span>*x)</span></font>, that's the case)<br>
      test2.jpg should show two lines (namely <font size="2"
        color="black" face="Calibri"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">(<span
            class="SpellE">x,2</span>*x) and </span></font> <font
        size="2" color="black" face="Calibri"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">(<span
            class="SpellE">x,1</span>*x)</span></font>, that's not the
      case)<br>
      test3.jpg should show three lines (namely <font size="2"
        color="black" face="Calibri"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">(<span
            class="SpellE">x,3</span>*x) and </span></font> <font
        size="2" color="black" face="Calibri"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">(<span
            class="SpellE">x,2</span>*x)</span></font><font size="2"
        color="black" face="Calibri"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">
          and </span></font> <font size="2" color="black"
        face="Calibri"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">(<span
            class="SpellE">x,1</span>*x</span></font>,that's not the
      case)<br>
      <br>
      Consecutive plots are normally superposed in Scilab. But here we
      get just the new ones.<br>
      <br>
      Do you see a way to unpink superposed plots? I am trying for hours
      with no succes.<br>
    </blockquote>
    .<br>
    Could you please make it clear for us: do you really get pink plots
    with driver("jpg")?<br>
    In some posts of yours, it seems that yes, and in others, that no.
    So, what's the status?<br>
    If you get pinky plots with driver("jpg"), could you please reply to
    the comment<br>
    <a class="moz-txt-link-freetext" href="http://bugzilla.scilab.org/12788#c41">http://bugzilla.scilab.org/12788#c41</a> directly on Bugzilla? I will
    then reopen the report.<br>
    <br>
    Superimposed plots and pinky plots are 2 separate things (*).<br>
    <br>
    Anyway, you can get what you want -- pinky or not -- with the
    following:<br>
    <pre style="font-family:Monospaced;font-style:normal;font-size:14.0;"><span style="color:rgb(50,185,185);">xdel</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(74,85,219);">)</span>
<span style="color:rgb(50,185,185);">driver</span> <span style="color:rgb(188,143,143);">JPG</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(160,32,240);">for</span> <span style="color:rgb(0,0,0);">i</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,143,143);">1</span><span style="color:rgb(255,170,0);">:</span><span style="color:rgb(188,143,143);">3</span>
    <span style="color:rgb(174,92,176);">plot</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(74,85,219);">[</span><span style="color:rgb(188,143,143);">0</span> <span style="color:rgb(188,143,143);">1</span><span style="color:rgb(74,85,219);">]</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(74,85,219);">[</span><span style="color:rgb(188,143,143);">0</span> <span style="color:rgb(0,0,0);">i</span><span style="color:rgb(74,85,219);">]</span><span style="color:rgb(74,85,219);">)</span>
    <span style="color:rgb(0,0,0);">f</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(174,92,176);">gcf</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(0,0,0);">;</span>
    <span style="color:rgb(50,185,185);">xinit</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(50,185,185);">msprintf</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">test%d.jpg</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(0,0,0);">i</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(74,85,219);">)</span>
    <span style="color:rgb(0,0,0);">f2</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(50,185,185);">copy</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(0,0,0);">f</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(0,0,0);">;</span>
    <span style="color:rgb(50,185,185);">xend</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(74,85,219);">)</span>
<span style="color:rgb(160,32,240);">end</span>
<span style="color:rgb(50,185,185);">driver</span> <span style="color:rgb(188,143,143);">REC</span><span style="color:rgb(0,0,0);">;</span></pre>
    Regards<br>
    Samuel Gougeon<br>
    <br>
    (*) This is why, your distinct branching was not welcome there
    again:<br>
<a class="moz-txt-link-freetext" href="http://mailinglists.scilab.org/Scilab-users-uman-2-1-is-released-tp4034964p4035025.html">http://mailinglists.scilab.org/Scilab-users-uman-2-1-is-released-tp4034964p4035025.html</a><br>
    <br>
  </body>
</html>