<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Thanks a lot, Patrice!<br>
    Regards, Jens<br>
------------------------------------------------------------------------------------------------------------------<br>
    <div class="moz-cite-prefix">Am 15.05.2017 11:10, schrieb Patrice
      MEGRET:<br>
    </div>
    <blockquote
cite="mid:8EAD3A11C751924B9AB951FA32FD86EB9640A792@EXCHANGEDB3.umons.ac.be"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"Préformaté HTML Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.PrformatHTMLCar
        {mso-style-name:"Préformaté HTML Car";
        mso-style-priority:99;
        mso-style-link:"Préformaté HTML";
        font-family:"Consolas",serif;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><a moz-do-not-send="true"
            name="_MailEndCompose"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Dear
              Jens,<o:p></o:p></span></a></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
            lang="EN-US">If you use plot3d instead of surf, it is ok.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
            lang="EN-US">The problem is that surf uses Matlab definition
            of the matrix Z whereas plot3d, … use Scilab definition.
          </span><span
style="font-size:11.0pt;font-family:Wingdings;color:#1F497D;mso-fareast-language:EN-US"
            lang="EN-US">è</span><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
            lang="EN-US"> there is a transposition between these two
            definitions (see help file)<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
            lang="EN-US">Ndgrid for plot3d, contour, …<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
            lang="EN-US">Meshgrid for surf<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
            lang="EN-US">If you would like to use surf with ndgrid:
            surf(x,y,Z.’)<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
            lang="EN-US">PM
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
            lang="EN-US"><o:p> </o:p></span></p>
        <div>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
              lang="EN-US"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"
              lang="EN-US"><o:p> </o:p></span></p>
        </div>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
            lang="EN-US"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext"
                  lang="FR">De :</span></b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext"
                lang="FR"> users [<a class="moz-txt-link-freetext" href="mailto:users-bounces@lists.scilab.org">mailto:users-bounces@lists.scilab.org</a>]
                <b>De la part de</b> Jens Simon Strom<br>
                <b>Envoyé :</b> dimanche 14 mai 2017 18:51<br>
                <b>À :</b> International users mailing list for Scilab.
                <a class="moz-txt-link-rfc2396E" href="mailto:users@lists.scilab.org"><users@lists.scilab.org></a><br>
                <b>Objet :</b> [Scilab-users] surf and plot3d<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <pre><span style="font-size:9.0pt">Hi,<o:p></o:p></span></pre>
        <pre><span style="font-size:9.0pt">Please check the graph below:<o:p></o:p></span></pre>
        <pre><span style="font-size:9.0pt"><o:p> </o:p></span></pre>
        <pre><span style="font-size:9.0pt">x</span><span style="font-size:9.0pt;color:#5C5C5C">=</span><span style="font-size:9.0pt;color:#4A55DB">[</span><span style="font-size:9.0pt;color:rosybrown">0</span><span style="font-size:9.0pt"> </span><span style="font-size:9.0pt;color:rosybrown">1</span><span style="font-size:9.0pt;color:#4A55DB">]</span><span style="font-size:9.0pt">; y</span><span style="font-size:9.0pt;color:#5C5C5C">=</span><span style="font-size:9.0pt;color:#4A55DB">[</span><span style="font-size:9.0pt;color:rosybrown">0</span><span style="font-size:9.0pt"> </span><span style="font-size:9.0pt;color:rosybrown">2</span><span style="font-size:9.0pt;color:#4A55DB">]</span><span style="font-size:9.0pt">;<o:p></o:p></span></pre>
        <pre><span style="font-size:9.0pt;color:#4A55DB">[</span><span style="font-size:9.0pt">X,Y</span><span style="font-size:9.0pt;color:#4A55DB">]</span><span style="font-size:9.0pt;color:#5C5C5C">=</span><u><span style="font-size:9.0pt;color:#AE5CB0">ndgrid</span></u><span style="font-size:9.0pt;color:#4A55DB">(</span><span style="font-size:9.0pt">x,y</span><span style="font-size:9.0pt;color:#4A55DB">)</span><span style="font-size:9.0pt"><o:p></o:p></span></pre>
        <pre><span style="font-size:9.0pt">Z</span><span style="font-size:9.0pt;color:#5C5C5C">=</span><span style="font-size:9.0pt">X</span><span style="font-size:9.0pt;color:#5C5C5C">+</span><span style="font-size:9.0pt;color:rosybrown">2</span><span style="font-size:9.0pt;color:#5C5C5C">*</span><span style="font-size:9.0pt">Y<o:p></o:p></span></pre>
        <pre><span style="font-size:9.0pt;color:#32B9B9">xdel</span><span style="font-size:9.0pt;color:#4A55DB">()</span><span style="font-size:9.0pt">;<o:p></o:p></span></pre>
        <pre><u><span style="font-size:9.0pt;color:#AE5CB0">surf</span></u><span style="font-size:9.0pt;color:#4A55DB">(</span><span style="font-size:9.0pt">x,y,Z</span><span style="font-size:9.0pt;color:#4A55DB">)</span><span style="font-size:9.0pt"><o:p></o:p></span></pre>
        <pre><span style="font-size:9.0pt;color:#32B9B9">param3d</span><span style="font-size:9.0pt;color:#4A55DB">(</span><span style="font-size:9.0pt">X,Y,Z</span><span style="font-size:9.0pt;color:#4A55DB">)</span><span style="font-size:9.0pt"><o:p></o:p></span></pre>
        <pre><span style="font-size:9.0pt">ce</span><span style="font-size:9.0pt;color:#5C5C5C">=</span><u><span style="font-size:9.0pt;color:#AE5CB0">gce</span></u><span style="font-size:9.0pt;color:#4A55DB">()</span><span style="font-size:9.0pt">;   ce</span><span style="font-size:9.0pt;color:#5C5C5C">.</span><span style="font-size:9.0pt;color:#AAAAAA">line_mode</span><span style="font-size:9.0pt;color:#5C5C5C">=</span><span style="font-size:9.0pt;color:rosybrown">"off"</span><span style="font-size:9.0pt">;   ce</span><span style="font-size:9.0pt;color:#5C5C5C">.</span><span style="font-size:9.0pt;color:#AAAAAA">mark_mode</span><span style="font-size:9.0pt"> </span><span style="font-size:9.0pt;color:#5C5C5C">=</span><span style="font-size:9.0pt"> </span><span style="font-size:9.0pt;color:rosybrown">"on"</span><span style="font-size:9.0pt">;   ce</span><span style="font-size:9.0pt;color:#5C5C5C">.</span><span style="font-size:9.0pt;color:#AAAAAA">mark_
size</span><span style="font-size:9.0pt"> </span><span style="font-size:9.0pt;color:#5C5C5C">=</span><span style="font-size:9.0pt"> </span><span style="font-size:9.0pt;color:rosybrown">10</span><span style="font-size:9.0pt"><o:p></o:p></span></pre>
        <pre><span style="font-size:9.0pt">ca</span><span style="font-size:9.0pt;color:#5C5C5C">=</span><u><span style="font-size:9.0pt;color:#AE5CB0">gca</span></u><span style="font-size:9.0pt;color:#4A55DB">()</span><span style="font-size:9.0pt">; ca</span><span style="font-size:9.0pt;color:#5C5C5C">.</span><span style="font-size:9.0pt;color:#AAAAAA">rotation_angles</span><span style="font-size:9.0pt;color:#5C5C5C">=</span><span style="font-size:9.0pt;color:#4A55DB">[</span><span style="font-size:9.0pt;color:rosybrown">65</span><span style="font-size:9.0pt"> </span><span style="font-size:9.0pt;color:rosybrown">290</span><span style="font-size:9.0pt;color:#4A55DB">]</span><span style="font-size:9.0pt">;<o:p></o:p></span></pre>
        <pre><span style="font-size:9.0pt"><o:p> </o:p></span></pre>
        <pre><span style="font-size:9.0pt">The facet corners do not coincide with the marks in Version 5.4.0. and 5.5.2.. Shouldn't they?<o:p></o:p></span></pre>
        <pre><span style="font-size:9.0pt"><o:p> </o:p></span></pre>
        <pre><span style="font-size:9.0pt">Kind regards<o:p></o:p></span></pre>
        <pre><span style="font-size:9.0pt">Jens<o:p></o:p></span></pre>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>